Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Can I replace the Header Image with widget areas? (http://forum.bytesforall.com/showthread.php?t=14104)

allynmey May 9, 2011 11:21 PM

Can I replace the Header Image with widget areas?
 
I'd like to replace the header image with some widget areas. 160x160 banners (8 of them) side by side or maybe (2) 625x160 banners side by side. Thanks

juggledad May 10, 2011 03:42 AM

Yes you can, see ato->Add new WIDGET AREAS

allynmey May 10, 2011 07:54 AM

Thanks Juggledad. I was able to add a widget. I would like to split the area to (2) widgets (left and right). Is there a code line that I could use to make the two or two widget lines that will work side by side?

Thanks for your help.

juggledad May 10, 2011 08:14 AM

See the doc
Quote:

Example:

This example uses more parameters. It creates a widget area spanning the whole available width (like all widget areas), with 4 widget area cells (default: 1). Each widget area cell is a widget area in its own right. You can specify an alignment and a width for all or particular widget area cells. Finally, you can specify opening and closing HTML tags for the widgets that will be placed in these new widget area cells.
<?php bfa_widget_area('name=My widget area&cells=4&align=1&align_2=9&align_3=7&width_4=7 00&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>

allynmey May 10, 2011 09:08 PM

Thanks for the reply juggle. I'm not much of a coder...ok I stink at it! Here is the line I used to replace the %image part of the style and edit HEADER AREA:

%pages %logo %bar1 <?php bfa_widget_area('name=top widget area'); ?> %bar2

What can I change to have (2) side by side widgets where I have one now in the above line of code?
Thanks JD

lmilesw May 10, 2011 10:14 PM

You could replace what you have with the following.
HTML Code:

<?php bfa_widget_area('name=top widget area&cells=2&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>

allynmey May 10, 2011 10:49 PM

lmilesw, thank you soooo much. My site is looking 10x better!!!! if you want to look and give some criticism (not finished yet) I'd love it.

www.fathersdaygiftmall.net

Allyn


All times are GMT -6. The time now is 03:21 AM.

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