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 » Header configuration & styling »

How to Align logo and ads underneath


  #1  
Old Mar 21, 2011, 05:13 PM
ecoughlin
 
13 posts · Nov 2010
Florida
Hello,

You've all been very helpful to me in this forum, just want to say thanks!

I was finally able to add the widgets to my header. But I'd like to center align the logo and then have the 2 banner ads underneath it side by side. I'm using Simple Image plugin, btw.

Can you please tell me what code I need to add?

Here's my url: http://gator541.hostgator.com/~acoc2011/

Many thanks, again!

Eunice
  #2  
Old Mar 21, 2011, 09:41 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You should be able to adjust the logo position in the theme options. What is the code you used for the widget areas and where did you put it? If you added a two celled widget area for the ads I'm not sure why they are under one another. You may also want to hide the post, comments, and search box if you want to center the logo and ads. It's hard to give you exact code for this as there are several interrelated items (EG the widget areas, logo, and other items in the logo area).
__________________
~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 Mar 23, 2011, 07:38 AM
ecoughlin
 
13 posts · Nov 2010
Florida
Hi Larry,

Here's the code I put in the Configure Header box:
Quote:
%pages %logo <?php bfa_widget_area('name=annual_ad_block1'); ?> <?php bfa_widget_area('name=annual_ad_ block2'); ?> %bar1 %bar2
I placed Simple Image plugin inside each widget where I inserted graphic and url for each ad.

I tried to place the both Simple Image plugins inside one of the widgets but that didn't do anything.

I'm lost. Thanks for your help !

Eunice
  #4  
Old Mar 23, 2011, 08:16 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you replace your code with something like the following you will get a two celled widget area. This way your two image widgets will be side by side.
HTML Code:
<?php bfa_widget_area('name=annual_ad_block&cells=2'); ?>
__________________
~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.
  #5  
Old Mar 24, 2011, 12:56 PM
ecoughlin
 
13 posts · Nov 2010
Florida
Larry,

I replaced my code with your code but my logos disappeared altogether. Do I need to rename my widgets? Do I need to add something to the CSS? Again, I am completely lost!

http://gator541.hostgator.com/~acoc2011/

thanks,

Eunice
  #6  
Old Mar 24, 2011, 03:50 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
What I generally do when changing the widget areas is to...
  • Delete the old code and save
  • Go to ATO>Add New Widget Areas and delete the old widget areas
  • Add the new code to where you removed the old code from
  • Go to the site and refresh the home page a couple of times
  • The widget areas should show now and you can populate with widgets.
__________________
~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 Mar 29, 2011, 10:22 AM
ecoughlin
 
13 posts · Nov 2010
Florida
Many thanks ! Take a look if you have a moment.
  #8  
Old Mar 29, 2011, 10:38 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
So is that how you want it to look?
__________________
~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.
  #9  
Old Mar 29, 2011, 10:56 AM
ecoughlin
 
13 posts · Nov 2010
Florida
Why, does it look bad? :-/

I would like the logos to be a tad closer together. I am open to suggestions if it would improve the look!

I'm also at the mercy of the clients I am designing this for. I added a background color but that may change according to what they like or want.
  #10  
Old Mar 29, 2011, 11:19 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I just ask the question so I know what you or the client or looking for. To get those ads closer together you could set the alignment on the widget areas to top/right on the right ad and to top/left on the left ad to center them right next to each other. Or you can set the width of the widget area to what would be big enough to hold the two widgets. If you look in ATO>Add New Widget Areas you will see how this alignment and width stuff works. It might take a bit to wrap your head around it but it is pretty straight forward.
__________________
~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.
  #11  
Old Mar 29, 2011, 11:50 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you might want to move to a fixed width page. If you resize the page the ads move and it looks a little strange...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Mar 29, 2011, 08:59 PM
ecoughlin
 
13 posts · Nov 2010
Florida
Thanks so much. I'm going to try your suggestions tomorrow and see how it works.

Eunice

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd Box after ads and text link ads in post/page travtemp Center area post/pages 2 Jan 6, 2011 08:22 PM
how-to align google ads rayrey Atahualpa 3 Wordpress theme 0 Oct 30, 2010 04:27 AM
How do i align my page menu bar with my logo ? jostakid Header configuration & styling 2 Jun 17, 2010 07:21 AM
Trying to align logo and widget in header wardrob Header configuration & styling 6 Mar 12, 2010 12:35 PM


All times are GMT -6. The time now is 09:36 PM.


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