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


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 Sep 23, 2010, 05:00 PM
minaa
 
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!
  #2  
Old Sep 23, 2010, 07:17 PM
lmilesw's Avatar
lmilesw
 
10,111 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.
  #3  
Old Sep 23, 2010, 07:49 PM
minaa
 
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 09:12 PM.

Bookmarks

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 05:26 PM
Problem with horizontal scrolling rcrsupport Header configuration & styling 0 Apr 13, 2010 08: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 05:33 PM
Align widgets horizontal evripidis Sidebars & Widgets 5 Apr 28, 2009 02:10 PM
Set left sidebar widgets same distance from center area as right sidebar widgets daisy24 Sidebars & Widgets 2 Feb 19, 2009 06:11 AM


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


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