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] Horizontal widgets

Old Sep 23, 2010, 04:00 PM
4 posts · Sep 2010
I've done a lot of looking around and I can't find a direct answer to my question on your forums.

I created a new widget area and placed it above my posts on my main page. I used the div option, because I didn't want to fuss with more tables than necessary.

I have a couple things I'd like to do:

One: I'd like this widget area to be visible on the main page only. I may change this in the future, but I'd like to know if there's a tag I could use to make it possible.
Two (and more importantly): I'd like to align these four widgets horizontally. I'll worry about styling later, right now I simply want the page to function.

My blog in progress is: http://www.sweetlycaustic.com/

Thanks for your help!
Old Sep 23, 2010, 06:17 PM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
To have a one celled widget area on the front page only use
HTML Code:
<?php if( is_home() ) bfa_widget_area('name=My new widget area'); ?>
To align the widgets horizontally I would use a four celled widget area with the above. The code below would give you 4 widget areas aligned side by side with the contents aligned at the top center only on the home page.
HTML Code:
<?php if( is_home() ) bfa_widget_area('name=Top widget area&cells=4&align=2&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
~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 Sep 23, 2010, 06:49 PM
4 posts · Sep 2010
I figured it out. I simply placed it into a fixed div. Thanks again!

Last edited by minaa; Sep 23, 2010 at 08:12 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal line widget cfibanez Sidebars & Widgets 6 May 7, 2010 04:26 PM
Problem with horizontal scrolling rcrsupport Header configuration & styling 0 Apr 13, 2010 07:16 PM
Added Widgets to Header area and now Widgets won't go away from Widgets page kippiper Header configuration & styling 5 Nov 12, 2009 04:33 PM
Align widgets horizontal evripidis Sidebars & Widgets 5 Apr 28, 2009 01:10 PM
Set left sidebar widgets same distance from center area as right sidebar widgets daisy24 Sidebars & Widgets 2 Feb 19, 2009 05:11 AM

All times are GMT -6. The time now is 05:57 PM.

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