MyBB Community Forums
Where to find CSS for div #header? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Where to find CSS for div #header? (/thread-85092.html)



Where to find CSS for div #header? - dikidera - 2010-12-27

Very interesting. I cant find the #header div in the css. I see you are using it :

<div id=header> but i cant find it in the css. How do you control it?


RE: Where to find CSS for div #header? - - G33K - - 2010-12-27

Its not there in the default css. You can however add it and style it as you please since the div with the id is already there.


RE: Where to find CSS for div #header? - dikidera - 2010-12-27

So how was it styled?


RE: Where to find CSS for div #header? - - G33K - - 2010-12-28

It wasn't, it wasn't needed to. Its a "container" for other divs that needed to be styled such as panel. I assume it was added to make it easier for themes to use it to style the header the way they want to. Same thing with the logo div.

Not every div needs to be styled.


RE: Where to find CSS for div #header? - Jessie S. - 2010-12-29

You can style it yourself, simply add:

#header {
background: #values;
padding: #px;
margin: #px;

etc. etc. into the global.css