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

[SOLVED] Widget in Header are adds unexplainable height


  #1  
Old Jan 8, 2010, 08:47 AM
Fux
 
142 posts · Apr 2009
Hi,
I just added a custom widget area to one of my blogs. But as soon as I put a widget in there, the widget area adds an additional 40-50px to the bottom of the widget area. It's white (or transparent) and I can't seem to get it away. I've double-checked all places I remember to use paddings, margins etc - nothing. I also remember that I encountered this before and even fixed it. I do not remember how, though.
Reproduce:
1. Add widget area re to header area (<?php bfa_widget_area('name=headerWidgets&cells=2&align_ 1=7&align_2=7&width_1=800'); ?>)
2. Check page: Nothing happened (correct)
3. Add widget to "headerWidget" area (e.g. an image with height 20)
4. Check page: Image is added as well as 40-50 px of space below it

Can you help me with this one? I'm using Atahualpa 3.4.4
  #2  
Old Jan 8, 2010, 10:23 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what's the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 8, 2010, 10:27 AM
Fux
 
142 posts · Apr 2009
Hey -

the url is http://www.felixolschewski.de

As a workaround, I have set "margin-top" to "-50" for %bar1 for now. That works but it's ugly...
  #4  
Old Jan 8, 2010, 03:17 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What did you use fro teh fires widget area, copy and paste the exact code. I see a text widget with
HTML Code:
<a href="http://www.felixolschewski.de"><img src="/wp-content/uploads/felixolschewskiBlog_headerCut.png" padding-bottom="40"></a>
Did you put the padding-bottom in?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 9, 2010, 03:01 AM
Fux
 
142 posts · Apr 2009
Uh - yes, I put that in there when I tried fixing this (was "-40" before) in an embarassing way.

Here's the code in the two widgets:
Code:
<a href="http://www.felixolschewski.de"><img src="/wp-content/uploads/felixolschewskiBlog_headerCut.png"></a>
Code:
<ul>
<?php if(function_exists('langswitch_list_langs')){
langswitch_list_langs(true, true, 'li');
}?>
</ul>
But removing any of these widgets won't fix the problem. Removing both, however, does fix it.
  #6  
Old Jan 9, 2010, 04:32 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
where did you get the language switcher? (ie langswitch_list_langs)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jan 9, 2010, 05:12 AM
Fux
 
142 posts · Apr 2009
I got it from

http://www.poplarware.com/languageplugin.html

I inserted it via Samsarin PHP Widget.

So far it turns out to work nice. Translating my own stuff is boring, though... But the Plugin itself is a really nice and easy solution.
  #8  
Old Jan 9, 2010, 07:13 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Do you realize you have defined a widget bottom margin of 50px at ATO->Style WIDGETS->Style WIDGETS which will put 50px of space under each widget??
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Jan 9, 2010, 07:21 AM
Fux
 
142 posts · Apr 2009
Oh.
My.
God.

I knew this was going to be embarassing.

Why did i even do that?


Thanks for taking the time, juggledad. You're awesome.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
This adds today's date to top right corner of header juandrah Header configuration & styling 1 Aug 21, 2011 02:31 AM
[SOLVED] Can no longer set height of header image after adding header widget tfs Header configuration & styling 7 Oct 15, 2009 02:50 PM
[SOLVED] In admin area header image overlaps the height box DesignFlute Header configuration & styling 4 Sep 24, 2009 05:53 AM
Layout height/ Table height evolva Page & Category Menu Bars 1 Jul 22, 2009 03:25 PM
Layout height /table height evolva Header configuration & styling 1 Jul 20, 2009 04:47 PM


All times are GMT -6. The time now is 10:49 PM.


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