Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Ignore style settings for some widget areas


  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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 08:19 PM.


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