Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] How do you center a widget below the header?

Old Dec 28, 2011, 06:53 AM
therebelchick's Avatar
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?


Last edited by therebelchick; Dec 28, 2011 at 06:54 AM. Reason: added URL
Old Dec 28, 2011, 07:21 AM
lmilesw's Avatar
10,174 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:
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.
Old Dec 28, 2011, 07:35 AM
therebelchick's Avatar
9 posts · Jun 2011
Miami, FL
That worked!! Thanks so much!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:50 AM
Center widget not showing harty Sidebars & Widgets 3 Oct 29, 2011 02:54 AM
Scrolling Image in a Center Widget? sleenie Sidebars & Widgets 5 Jul 30, 2010 10:23 AM
[SOLVED] How to center a text widget in the header area timanderson Sidebars & Widgets 3 Jun 13, 2010 04:08 PM
[SOLVED] Center Header Widget? ChrisPanimation Header configuration & styling 14 Nov 30, 2009 08:48 PM

All times are GMT -6. The time now is 08:37 PM.

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