Title: Widget title background color
Last modified: January 21, 2018

---

# Widget title background color

 *  Resolved [klmnt](https://wordpress.org/support/users/klmnt/)
 * (@klmnt)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/widget-title-background-color/)
 * Thanks for the nice theme. However with my partial CSS knowledge I’ve been struggling
   with giving the widget-title a background color.
    I tried: .widget-title and 
   h2.widget-title { background-color: #bbb } It works right on the central column,
   but in the left and right bars the colored background spans all the way down 
   to the second widget title. It also seems working properly on the second widgets
   in the sidebars. So only the top widgets in the sidebars are what’s giving me
   the headache. Any help with addressing the issue will be highly appreciated. 
   Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/widget-title-background-color/#post-9890246)
 * Thanks for using Mission News!
 * That is really strange. The code you’ve tried should work just fine, but I have
   an update here for you that is working well:
 *     ```
       .widget-title {
         background-color: #bbb;
         clear: both;
       }
       ```
   
 * With `clear: both;` included, the widget title’s background no longer ends up
   behind the entire widget.
 *  Thread Starter [klmnt](https://wordpress.org/support/users/klmnt/)
 * (@klmnt)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/widget-title-background-color/#post-9890956)
 * Thanks for the fast reply. The proposed solution works perfectly.
 * A small bug I noticed after the last update is that if you use “Right/Left sidebar–
   wide” layout the Ad-spot before first article does not resize and stays small,
   while the Ad-spot after the first article resizes properly
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/widget-title-background-color/#post-9891407)
 * Glad to hear that!
 * Thanks for the tip. I see this bug too now. I’ll include a fix for it in the 
   next update for Mission News.
 *  Thread Starter [klmnt](https://wordpress.org/support/users/klmnt/)
 * (@klmnt)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/widget-title-background-color/#post-9891709)
 * Thanks Ben

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Widget title background color’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/mission-news/1.65/screenshot.png)
 * Mission News
 * [Support Threads](https://wordpress.org/support/theme/mission-news/)
 * [Active Topics](https://wordpress.org/support/theme/mission-news/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/mission-news/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/mission-news/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [klmnt](https://wordpress.org/support/users/klmnt/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/widget-title-background-color/#post-9891709)
 * Status: resolved