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 »

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


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 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,107 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

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 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 02:48 PM.


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