...

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



seoproductions
11-16-2011, 04: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!

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

something like this?

http://i1114.photobucket.com/albums/k535/auroralight1/untitled-113.png

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

Sammy12
11-16-2011, 05: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

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

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




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

seoproductions
11-16-2011, 05: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!

Jack



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum