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


  #1  
Old Sep 23, 2010, 04:00 PM
minaa
 
4 posts · Sep 2010
[SOLVED] Horizontal widgets

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, 06:17 PM
lmilesw's Avatar
lmilesw
 
10,176 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, 06: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 08: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 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 03:31 AM.


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