Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

How to Align logo and ads underneath


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Mar 21, 2011, 04: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, 08:41 PM
lmilesw's Avatar
lmilesw
 
10,054 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, 06: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, 07:16 AM
lmilesw's Avatar
lmilesw
 
10,054 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, 11:56 AM
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, 02:50 PM
lmilesw's Avatar
lmilesw
 
10,054 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, 09:22 AM
ecoughlin
 
13 posts · Nov 2010
Florida
Many thanks ! Take a look if you have a moment.
  #8  
Old Mar 29, 2011, 09:38 AM
lmilesw's Avatar
lmilesw
 
10,054 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, 09: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, 10:19 AM
lmilesw's Avatar
lmilesw
 
10,054 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, 10:50 AM
juggledad's Avatar
juggledad
 
21,985 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
you might want to move to a fixed width page. If you resize the page the ads move and it looks a little strange...
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #12  
Old Mar 29, 2011, 07: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 07:22 PM
how-to align google ads rayrey Atahualpa 3 Wordpress theme 0 Oct 30, 2010 03:27 AM
How do i align my page menu bar with my logo ? jostakid Header configuration & styling 2 Jun 17, 2010 06:21 AM
Trying to align logo and widget in header wardrob Header configuration & styling 6 Mar 12, 2010 11:35 AM


All times are GMT -6. The time now is 01:48 AM.


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