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 »

[SOLVED] styling background in header widget areas


  #1  
Old Apr 30, 2010, 03:45 PM
emanuel1969's Avatar
emanuel1969
 
133 posts · Apr 2010
California
Send a message via Skype™ to emanuel1969
I made a new widget area in the header and put it below the logo and header image like this:

%logo %pages %image <?php bfa_widget_area('name=New widget area'); ?>

Is there a way I can put a background image behind this? Or just set a background color? It seems to be using the "body" style when I want the style to match the "center column" style. Yet there's no way to put a widget area in the center column.

Thanks!
  #2  
Old Apr 30, 2010, 04:13 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You can put a widget area in the center column just add the code to ATO>Style & Edit CENTER COLUMN>Content ABOVE the LOOP.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 30, 2010, 05:30 PM
emanuel1969's Avatar
emanuel1969
 
133 posts · Apr 2010
California
Send a message via Skype™ to emanuel1969
Awesome! Thanks. That worked. Now is there a way to set left/right margins for a widget area? Or do I need to make a three-celled widget area and set the width of the left/right cells, leaving them empty?
  #4  
Old Apr 30, 2010, 08:20 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You should be able to style the widget area with the following if you named it New widget area.
HTML Code:
#New_widget_area {
border: 1px solid black;
padding: 5px;
}
Etc. Etc.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Apr 30, 2010, 08:36 PM
emanuel1969's Avatar
emanuel1969
 
133 posts · Apr 2010
California
Send a message via Skype™ to emanuel1969
So simple. So elegant. Thanks.

Oh, and I had to un-capitalize it to get it to work, like this....

#new_widget_area {
border: 1px solid black;
padding: 5px;
}

Thanks again.
  #6  
Old Apr 30, 2010, 08:40 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
That makes sense... Glad it worked.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks



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
[SOLVED] Background Image in New Widget Areas? Rashell Sidebars & Widgets 2 Dec 31, 2009 05:18 PM
Styling new widget areas Wimbledon Sidebars & Widgets 6 Dec 13, 2009 07:39 AM
[SOLVED] Styling new widget areas lhanft Sidebars & Widgets 7 Sep 27, 2009 04:45 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 11:23 PM.


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