Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Adding bkground color to sidebar widget titles/headers


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Oct 16, 2009, 10:50 AM
RuthSmith
 
6 posts · Feb 2009
Boston, Massachusetts
Apparently I was using the wrong forum, so I will try this again.

I'm trying to add a bkground color to all the widget sidebar titles/headers.

I found this link here:
http://forum.bytesforall.com/showthr...t=widget+title

that says to do this:

through HTML/CSS Inserts -> CSS Inserts

div.widget_categories .widget-title {
border: solid 1px #000000;
background: #eeeeee;
padding: 5px;
}

I did the above and it only changed for the categories widget.

What do I put in place of "categories" to have it work for other widgets like ad rotator widgets and recent posts widget? I've tried recentposts, recent-posts, recent_posts and it didn't work.

I'm using the most recent wordpress and theme at bestallergysites.com

Thanks in advance!

ETA: "text" works for text widgets-but still having trouble with header recent posts and ad rotator 1

Last edited by RuthSmith; Oct 16, 2009 at 10:56 AM.
  #2  
Old Oct 16, 2009, 11:19 AM
juggledad's Avatar
juggledad
 
22,269 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
you will need to look at the a page then it's generated source to see what other CSS selectors you will need, like for ad rotator

For recent posts, you can use 'div.widget div.widget-title h3'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 16, 2009, 11:42 AM
RuthSmith
 
6 posts · Feb 2009
Boston, Massachusetts
Thank you so much. That def worked.

However, it then bumped the size of the colored box behind the categories bar. I manually adjusted the padding (it's now down to 0 for categories and 6 for recent posts), but wondering why it would do that.

Thanks again for the prompt reply and help!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sticky Headers + Sidebar justjoolz Atahualpa 3 Wordpress theme 1 Apr 7, 2009 05:57 AM
How do I use TTF Titles Plugin on the widget titles? chavahn Sidebars & Widgets 0 Mar 5, 2009 10:05 AM
Want to set background-color only under the title of categories widget in the sidebar MarkusM. Sidebars & Widgets 5 Feb 12, 2009 04:45 PM
Take Page Titles and Widget Titles for example... bseppa Sidebars & Widgets 0 Dec 12, 2008 07:44 PM


All times are GMT -6. The time now is 04:14 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.