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 »

Ignore style settings for some widget areas


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 Apr 20, 2011, 01:09 PM
Webmason's Avatar
Webmason
 
69 posts · Feb 2009
Minneapolis, MN USA
Hello,

Sorry if this has been asked/answered, I couldn't find it by searching...

Is there a simple way to set certain widget areas to ignore widget styling choices?

I want the styling set for the sidebar, but not for added areas on the header, footer and body.

Thanks!
Tom
  #2  
Old Apr 20, 2011, 01:27 PM
juggledad's Avatar
juggledad
 
22,161 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
CSS is 'cascading' so any HTML element that matches the CSS Selection will have the rules applied. If you want all the 'widgets' to have a background of 'red' you would use the 'widget' class
HTML Code:
.widget {background: #red;}
but if you wanted the widgets in teh footer to have a background of 'blue' you would have to have a more specific CSS Selector like this
HTML Code:
#footer .widget {background: blue;}
to get these CLASS's and ID's, you need to look at the generated source of the page.
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old Apr 20, 2011, 01:54 PM
Webmason's Avatar
Webmason
 
69 posts · Feb 2009
Minneapolis, MN USA
Excellent - Thank you!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change widget areas order on widget page JFG Sidebars & Widgets 0 Apr 19, 2010 02:07 PM
Multiple new widget areas? horsemansarts Sidebars & Widgets 2 Nov 12, 2009 08:18 AM
New widget areas working at all? paulae Sidebars & Widgets 3 Sep 21, 2009 03:49 PM
Widget areas 1 to 4 Ddabrai Sidebars & Widgets 2 Aug 15, 2009 02:48 AM


All times are GMT -6. The time now is 07:39 AM.


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