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 »

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
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
  #2  
Old May 10, 2011, 03:42 AM
juggledad's Avatar
juggledad
 
23,765 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,765 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,176 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.

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
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 08:43 AM.


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