[Solved] Align Menu to Left in Corporate 2

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Wed Jul 28, 2010 1:57 am
How do align the menu to the left on Corporate 2 template?
User avatar
Junior Boarder

GK User
Wed Jul 28, 2010 8:03 am
search the templates.css for
Code: Select all
#gk-nav { margin:0 0 10px 0; background:#979189;float:right; }


and change the right to left.
User avatar
Platinum Boarder

GK User
Wed Jul 28, 2010 8:10 am
Awesome, that worked. I appreciate your support.

How would I make the background of the menu expand to the length of the template width dimensions (950px)?
User avatar
Junior Boarder

GK User
Wed Jul 28, 2010 8:29 am
yessir...

#gk-nav { margin:0 0 10px 0; background:#979189;float:left; width:830px }

play around with the pixels in the width. if you use 950 then it pushes the logo up above it.
User avatar
Platinum Boarder

GK User
Wed Jul 28, 2010 8:39 am
Awesome again. Problem solved. Thank You.
User avatar
Junior Boarder

GK User
Wed Jul 28, 2010 9:11 am
you welcome.
User avatar
Platinum Boarder

GK User
Sun Mar 06, 2011 9:10 pm
Hey in regards to above - If you make the menu the same width of the template - is there a way you can center the menu items so that its in the middle?

Cheers,
T.

This is the menu URL

http://www.pokerchipindia.com/multi-coaching.com/
User avatar
Senior Boarder

teitbite
Wed Mar 09, 2011 7:45 am
Hi

Menu needs to use float:left option to work, so the only way to make it is using margin-left:100px .

You can also fix the menu width and set it again using css, for example:

Code: Select all
#menu {
width:100px;
margin:0px auto;
}
User avatar
Moderator

GK User
Wed Mar 09, 2011 10:46 am
Hi Teibite,

I dont think i understood that properly. Sorry.

I opened tempalte.css and i have already played with this line to adjust the width;

#gk-nav { margin:0 0 10px 0; background:#979189;float:left; width:980px; }

So where were u suggesting to add the margin?

Cheers,
V
User avatar
Senior Boarder

GK User
Wed Mar 09, 2011 11:43 am
Hi

Here's what you need to do:

Code: Select all
h1.logo {position: absolute!important;top:-15px}
#gk-nav {width:100%;background: #6C6459}
#gk-mainnav {width: 700px;margin: 0 auto}


1th line push up the logo.
2th line set 100% width to main div.
3th you need to set width value in px for gk-mainnav div and center by margin.

The result should be like this:

screen_2011-03-09.png



Cheers ;)
User avatar
Platinum Boarder

GK User
Fri Mar 11, 2011 8:22 am
Its working - but could u pls advise me on where in the css to change the grey colour to my preference?

Screen shot attached.

screenshot_2011-03-11.jpg
User avatar
Senior Boarder

Konrad M
Fri Mar 11, 2011 8:28 am
in
Code: Select all
#gk-nav {
background: #979189;// change this value
}
User avatar

GK User
Fri Mar 11, 2011 8:52 am
Thank you sir!
:cheer:
User avatar
Senior Boarder

Konrad M
Fri Mar 11, 2011 8:53 am
I'm glad I helped.
User avatar

GK User
Fri Apr 22, 2011 7:53 pm
Hi

I'm interested in alining the Menu fom left to right, in Corporate 2, by using these lines :

h1.logo {position: absolute!important;top:-15px}
#gk-nav {width:100%;background: #6C6459}
#gk-mainnav {width: 700px;margin: 0 auto}

Could you help me please ?

In which file do I have to implement them ?
template.css ? or in another css file ?
I used Notepad ++ to search these lines and I did not find them...

and in which line ?

Thank you very much for your help.
User avatar
Fresh Boarder

Konrad M
Tue Apr 26, 2011 8:05 am
doriqam, can you give me url to your site?
User avatar


cron