• Resolved christheamazing

    (@christheamazing)


    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.

    I was testing it with a random color earlier 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.

    Here is the code in style.css:

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

    This is the HTML for the widget itself:

    <div id="widget_sp_image-4" class="widget widget_sp_image"><img alt="" class="attachment-full aligncenter" style="max-width: 100%;" src="https://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 widget is acting as a separator between the recent posts and categories widgets. You can see the widget here: https://www.paperandrye.com

    Any idea what’s going on here?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot get background color on widget to remove’ is closed to new replies.