Reducing the header space

GK User
Fri Feb 25, 2011 2:14 pm
Hi,

I'd like to know how I can reduce the amount of space left on top i.e. above the logo? Sorry if this is a basic question. The link: saudilife.net/matrimonial

Thanks,
Faraz
User avatar
Fresh Boarder

GK User
Fri Feb 25, 2011 6:20 pm
Hi

Please enable first override.css file on template parameters.
Next try adding one of this 2 option on this file:

If you want to move up all block:
Code: Select all
#gk-top {margin-top:-20px}


In other hand, if you want to move only logo and stripes:
Code: Select all
#gk-top {position: relative;top: -20px}


Cheers ;)
User avatar
Platinum Boarder

GK User
Tue Mar 01, 2011 7:59 pm
User avatar
Junior Boarder

GK User
Tue Mar 01, 2011 8:04 pm
add this insted
Code: Select all
#gk-top.topmargin { margin-top: -70px; }
User avatar
Platinum Boarder

GK User
Tue Mar 01, 2011 8:04 pm
maybe you also want this to move the content a bit closer to the menu :
Code: Select all
#mainPage { margin-bottom: 23px;  margin-top:-40px }
User avatar
Platinum Boarder

GK User
Tue Mar 01, 2011 8:12 pm
hmmm. playing around a bit cause i like your logo, it's just huge - i really like this result..
Code: Select all
#gk-top.topmargin { margin-top: -70px; }
#gk-menu { margin-top:-35px; position:absolute!important; margin-left:30px }
#mainPage { margin-bottom: 23px;  margin-top:-50px }


Image

use it if you want :D
User avatar
Platinum Boarder

GK User
Tue Mar 01, 2011 8:16 pm
That still didnt work! ? whats going on with my page?
User avatar
Junior Boarder

GK User
Tue Mar 01, 2011 8:19 pm
Hey thanks thats sweet what about doing it all the way left cause I am going to have alot of menu items.
User avatar
Junior Boarder

GK User
Tue Mar 01, 2011 8:20 pm
have you applied it now and enabled override.css from the template manager?

in ff i don't see the logo all of a sudden, in chrome i see it as it was before, in ie i see the menu moved up a bit...
User avatar
Platinum Boarder

GK User
Tue Mar 01, 2011 8:22 pm
Yes I see it in chrome, and firefox.
User avatar
Junior Boarder

GK User
Tue Mar 01, 2011 8:22 pm
now the menu is in it's right place in chrome...

in ff it looks exactly like my screenshot...
User avatar
Platinum Boarder

GK User
Tue Mar 01, 2011 8:28 pm
robgam1234 wrote:Hey thanks thats sweet what about doing it all the way left cause I am going to have alot of menu items.


if you do it all the way left, the menu will overlap the wineglas... then i would move it down a notch, and then remove the position:absolute. this will center the menu, and if you have more menu points it will still be center...
User avatar
Platinum Boarder

GK User
Tue Mar 01, 2011 8:36 pm
Its not like that in Chrome or IE :-(
User avatar
Junior Boarder

teitbite
Wed Mar 02, 2011 12:12 am
Hi

Wow :)

Try to add this code also:

Code: Select all
#gk-top {
height: 330px;
position:relative;
}

#gk-top span {
display:none;
}

h1.logo {
position:absolute;
left:300px;
}


and show me the site than.
User avatar
Moderator

GK User
Thu Mar 03, 2011 8:49 pm
did u get the result you would ? see the menu got longer, and looks nice in chrome, ff and ie...
User avatar
Platinum Boarder

GK User
Fri Mar 04, 2011 2:00 pm
Thanks for the help yes I figured it out due to your guys help! Thanks Again :woohoo:
User avatar
Junior Boarder

GK User
Fri Mar 04, 2011 8:37 pm
np.. thats why we're here :)

glad i could help, and im sure teit is too :D
User avatar
Platinum Boarder


cron