Background color on widget will not remove

  • Unknown's avatar

    Hey Guys

    I’m trying to remove the background color from a specific class of widget, but for the life of me cannot get the damn thing to change change.

    I was testing it with a random color and got it to work, then after changing the background to “none”, nothing happened. I cleared internet history and still nothing. I cannot see where I’ve made a mistake in the style.css.

    Here is the code in style.css:

    #sidebar .widget widget_sp_image {
    	margin-bottom:15px;
    	background:none;
    	padding:15px;
    	font-size:13px;
    }

    The widget is an image widget which you can see on the following page: http://www.paperandrye.com

    Any idea what’s going on here?

  • Unknown's avatar

    Just for further clarification. The widget is acting as a separator between the recent posts and categories widgets.

    This is the HTML for it:
    <div id="widget_sp_image-4" class="widget widget_sp_image"><img alt="" class="attachment-full aligncenter" style="max-width: 100%;" src="http://www.paperandrye.com/wp-content/uploads/2014/04/seperator.png" pagespeed_url_hash="450633582" height="12" width="272"></div>

    I suppose I could do the individual widget itself, but I’d like to do any image widget that I put up there. Although I couldn’t get the individual widget working either. I’m not sure if I’m blind to something obvious or if there’s something overriding it?

  • The topic ‘Background color on widget will not remove’ is closed to new replies.