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 »

Can I replace the Header Image with widget areas?


  #1  
Old May 9, 2011, 11:21 PM
allynmey
 
15 posts · May 2011
Dighton, MA USA
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
  #2  
Old May 10, 2011, 03:42 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Yes you can, see ato->Add new WIDGET AREAS
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 10, 2011, 07:54 AM
allynmey
 
15 posts · May 2011
Dighton, MA USA
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.
  #4  
Old May 10, 2011, 08:14 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>'); ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 10, 2011, 09:08 PM
allynmey
 
15 posts · May 2011
Dighton, MA USA
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
  #6  
Old May 10, 2011, 10:14 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
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>'); ?>
__________________
~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.
  #7  
Old May 10, 2011, 10:49 PM
allynmey
 
15 posts · May 2011
Dighton, MA USA
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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to replace header image and menu with image map? Yeeh Atahualpa 3 Wordpress theme 2 Nov 11, 2011 05:31 AM
How to Replace Header image and set Image from script??? fotomag Header configuration & styling 3 Apr 1, 2011 03:45 AM
[SOLVED] Background Image in New Widget Areas? Rashell Sidebars & Widgets 2 Dec 31, 2009 05:18 PM
[SOLVED] How to replace the default feed image in the header to Feedburner chicklet i vishvadeep Header configuration & styling 0 Aug 24, 2009 08:29 PM
Replace Header image with mutiple ads wheregotfree Header configuration & styling 1 Feb 26, 2009 06:35 PM


All times are GMT -6. The time now is 04:19 PM.


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