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] How do you center a widget below the header?


  #1  
Old Dec 28, 2011, 07:53 AM
therebelchick's Avatar
therebelchick
 
9 posts · Jun 2011
Miami, FL
I am setting up a new widget just below my header. My code looks like this:

%page-center %bar1 %image %bar2 %cats %bar1 <?php bfa_widget_area('name=Below Header Widget &align=1'); ?>

The widget is there but it's left aligned and I can't figure out how to center it...is this an option in Atahualpa theme?

http://therebelchick.com

Last edited by therebelchick; Dec 28, 2011 at 07:54 AM. Reason: added URL
  #2  
Old Dec 28, 2011, 08:21 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Not sure if this is a problem but take out the space before the ampersand so your code looks like this.
HTML Code:
<?php bfa_widget_area('name=Below Header Widget&align=1'); ?>
Or you could just add the following to CSS Inserts
HTML Code:
#below_header_widget_ {
    text-align: center;
}
If you make the code change to the widget the id would be
HTML Code:
#below_header_widget
This is because the space is removed after the name.
__________________
~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 Dec 28, 2011, 08:35 AM
therebelchick's Avatar
therebelchick
 
9 posts · Jun 2011
Miami, FL
That worked!! Thanks so much!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Added center column widget showing in Widget area, but not displaying on pos tsheridan Sidebars & Widgets 2 Dec 22, 2011 10:50 AM
Center widget not showing harty Sidebars & Widgets 3 Oct 29, 2011 03:54 AM
Scrolling Image in a Center Widget? sleenie Sidebars & Widgets 5 Jul 30, 2010 11:23 AM
[SOLVED] How to center a text widget in the header area timanderson Sidebars & Widgets 3 Jun 13, 2010 05:08 PM
[SOLVED] Center Header Widget? ChrisPanimation Header configuration & styling 14 Nov 30, 2009 09:48 PM


All times are GMT -6. The time now is 10:09 PM.


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