XF 1.4 Lose this annoying gap

Not sure where its floating:
upload_2014-9-18_6-55-23.webp

The actual logo has a pixel or two top and bottom?
upload_2014-9-18_6-56-1.webp

Perhaps there is something going on in your screen that I am not experiencing or maybe i misunderstand?

Oh wait disabled ad blocker. I see it. Lets see. Also thanks for adding the image.
 
Last edited:
Remove or reduce the margin top from the ad.
Set it to 6px instead of 17px if you want it vertically centred.
They may be trying to prevent the login tab from covering the ad. Not sure if thats in the rules or not.

If the ad's are fixed in size and they don't mind the top margin when the ads are not present... could add it to the logo instead. I know another solution that unfortunately doesn't work with the way the theme is built.
 
Good point.
Having a click element over an ad is against Google's TOS.

It will require a different solution.
EXTRA.css:
Code:
#logo img
{
    margin-top: 11px;
}
 
I did it logged out.
What are you seeing Russ?

Edit: I presume you're browsing with a small screen? Yes, you'll need to remove margin top using a media query for when it's less than max width.
 
Ahh, you have ads blocked.

Personally I'd ditch the ad in the header, as that is what's causing the issues.
Either that or make the logo the same height as the ad.
 
Back
Top Bottom