MyBB Community Forums

Full Version: Remove Padding from Header Logo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey folks, I've looked everywhere and not found a solution to this. Here's the forum: EWOT forum

See that big white gap between the header image and the black bar below? I want that gone. I just want the logo to sit right on top of it. Is there any way to make that happen?

Thanks in advance.
you may have to remove padding bottom property for the logo & also adjust margin top of the menu links

forum admin panel >> Templates & Style >> Default theme >> global.css

global.css - around line 45
#logo {padding: 10px 0; 

global.css around line 77
#logo ul.top_links {margin: -16px 5px 0 0;

note: stylesheet needs to be edited in forum admin panel (through themes section) AND in advanced edit mode (tab)

remember hard refreshing your browser [eg. press CTRL + F5] on forum's index page after saving changes to the stylesheet
That didn't do a thing except center all my text. Had to revert.

Never mind man. I appreciate the effort, but it's not worth it. I just changed the logo a bit and am going to leave it at that. Done messing with it.

Thanks for the effort.
1] #logo {padding: 10px 0;
remove padding: 10px 0;

2] #logo ul.top_links {margin: -16px 5px 0 0;
change -16px to -18px

above given changes should work for your requirement !