View Full Version : Need help adjusting my header.php!

11-16-2011, 05:33 AM
EDIT: I guess it is more the main.css I need to edit as opposed to the header.php

Hey guys. So I am an absolute newbie when it comes to coding. So be gentle! :p

Heres my question...

My site is www. mobile marketing worldwide . com If you take a look, you can see the preferred size of my logo. I've been playing around with the sizes and banners, but I cannot seem to expand the header enough (without looking ridiculous) to fit the logo. I'd also have to adjust my links across the top.

Is this an easy thing to do? Let me know if you need to see my .php file.

Any help is much appreciated!

Thanks guys!

11-16-2011, 05:57 AM
you mean expand the header height wise?

something like this?


11-16-2011, 06:11 AM
YES! Exactly! How do I make that happen?

11-16-2011, 06:15 AM
delete all the #header code on main.css on line 26 and replace with:

#header {
height: 105px;
padding: 5px 0 0 0;
background: #FAFAFA;
background: -webkit-gradient(linear, 0% 0%, 0% 30%, from(#FFF), to(#DADADA);
background: -webkit-linear-gradient(top, #FFF 30%, #DADADA);
background: -moz-linear-gradient(top, #FFF 30%, #DADADA);
background: -ms-linear-gradient(top, #FFF 30%, #DADADA);
background: -o-linear-gradient(top, #FFF 30%, #DADADA);

stick this somewhere:

#header #nav {
margin-top: 50px !important;

I also took out the "here" in "order here/contact us" to give the nav some more room

11-16-2011, 06:27 AM
Hmm... If you take a look at the site you'll see what happened. Where did I do wrong?

11-16-2011, 06:30 AM
woops, forgot a ) in the first gradient

background: -webkit-gradient(linear, 0% 0%, 0% 30%, from(#FFF), to(#DADADA));

11-16-2011, 06:35 AM
Thank you so much! Looks great! I've got a lot to learn! You'll be seeing lots of me around here!

Thanks again, man!