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 »

Trying to align logo and widget in header


  #1  
Old Mar 11, 2010, 01:21 PM
wardrob
 
32 posts · Jan 2010
Hi,

I'm having trouble getting the new widget I added to the header to align to the right on the same line as my logo. This is the code I have in the header:

%logo <?php bfa_widget_area('name=My new widget area'); ?> %pages

and the page is here:

http://pinefurnitureonline.co.uk


I'm sure it's just a simple alignment problem but I just can't get it. Thanks,

Bob
  #2  
Old Mar 11, 2010, 01:43 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
do you mean the 'P' in Pine not ligning up with the green box under it?

If so, you need to go edit your image logo.png because it has about an 1/8 inch of white space before the 'P' in the image
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 11, 2010 at 01:57 PM.
  #3  
Old Mar 11, 2010, 02:59 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you want the logo and the Spring Sale on the same line I believe you will have to create a two celled widget area, not use the %logo, and put one widget to hold the logo and one widget to hold the Spring Sale item.
__________________
~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.
  #4  
Old Mar 11, 2010, 03:14 PM
wardrob
 
32 posts · Jan 2010
Thanks for the reply guys,

it's as lmilesw says, I want to get the widget on the same line as the logo. I'll have a look at the header instructions again and try and do a two cell widget,

cheers
  #5  
Old Mar 11, 2010, 03:38 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Here is the code I used on one of my sites. It's the area just below the menu.
HTML Code:
<?php bfa_widget_area('name=Top widget area&cells=2&align=1&width_2=170&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
In my case I just set the width of the second area to 170 and let the first area fill the rest of the space.
__________________
~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.
  #6  
Old Mar 12, 2010, 01:53 AM
wardrob
 
32 posts · Jan 2010
Thanks very much for that Larry.

I have tried it - the adblock goes in fine, how do I link the logo in now - do I have to have an absolute url?

Also, it's placed the block directly ontop of the navbar and I'd like to get a bit of padding on there - where do I add that?

Thanks again for your help,

Bob

edit: Manage to get it sorted apart from the little bit of padding at the bottom

Last edited by wardrob; Mar 12, 2010 at 09:47 AM.
  #7  
Old Mar 12, 2010, 12:35 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You can use an href in the widget to link the logo to the home page which is what I presume you want to do. I would just throw in the absolute url. As for the padding. You could either pad the image in the widget or easier still would be to style a %bar with white borders and make it the height you want and put it under the widget area. I hope that is clear.
__________________
~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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I add a widget area inside the logo bar? jfriedman Header configuration & styling 8 Jun 26, 2011 09:59 PM
Control spacing in menu bar: left-align some; right align others; blank space between sarah97302 Page & Category Menu Bars 1 Nov 16, 2009 02:47 PM
[SOLVED] having text widget issues with logo Seergenius Sidebars & Widgets 6 Sep 27, 2009 06:26 PM
No logo in header, firefox jamaas Header configuration & styling 4 Aug 18, 2009 08:47 AM


All times are GMT -6. The time now is 05:18 PM.


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