How do I separate the logo and menu?

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Thu Sep 16, 2010 10:49 pm
I would like the menu to be shown below the logo instead of side-by-side.

How do I do that?
User avatar
Fresh Boarder

GK User
Fri Sep 17, 2010 1:56 am
Hi

Using only css, try this:

Code: Select all
h1.logo,div.logo-text {position: absolute;top:-20px;}
#gk-nav {width: 100%;}


Cheers ;)
User avatar
Platinum Boarder

GK User
Wed Sep 29, 2010 4:18 pm
Thanks for this, it worked, now how can i move the menu to the left and make it 100% from the left to the right, i mean to match the width of the container?

Thanks
User avatar
Fresh Boarder

GK User
Wed Sep 29, 2010 8:04 pm
please show me the site..
User avatar
Platinum Boarder

GK User
Wed Sep 29, 2010 8:17 pm
Here

Thanks for the support
User avatar
Fresh Boarder

GK User
Tue Mar 29, 2011 1:34 pm
I'm new here so sorry for any confusion..... trying to make this work in Joomla 1.6 and I've been looking through the CSS files but I can't find the same values in them as are listed in here..... anyone get this to work?

Thanks!

Zach
User avatar
Fresh Boarder

GK User
Tue Mar 29, 2011 1:49 pm
Looks like I posted too soon! I figured out how to do what I needed.... here is what I did:

In template.css I changed line 61 to be the following:


Code: Select all
#gkLogo { height: 40px; margin: 0; line-height: 100%; position: absolute; top: 3px;}


Then, in layout.css I modified line 14:

Code: Select all
#gkMenuNav {float: left; margin:25px 0 10px 0; width: 100%}


To make it full width I went to line 52 of my template.css file and changed the following:
Code: Select all
#gkMenu { float: left; width: 100%; height: 40px; background-color: #6C6459 }



Hope this helps someone else too :)


Zach
User avatar
Fresh Boarder

GK User
Thu Apr 07, 2011 11:43 pm
Hi zbeatty

Lots of thanks for your idea...

It worked very well... Excluding only with IE7

I checked my web site with IETester, which can be downloaded
at http://www.my-debugbar.com/wiki/IETester/HomePage,
and it showed me the logo will be totaly shifted right ( even
more to the right than the search position ) with IE 7 .
As you can see from attached file
Browsers-behavoir.jpg


or you can view the site I'm working on at:
www.webdesignportugal.net/temphost3

I suggest you check your web site with IETester because it
many be happening the same to your logo with IE7 .

And...
For the Gavick forum support team: Can you help us
with a solution for this problem, please?

Lots of thanks in advance,

Miguel Garcia
User avatar
Junior Boarder

teitbite
Sat Apr 09, 2011 5:05 am
Hi

IEtester is not a realible tool for me. I still was encountering problems which it didn't predicted or actualy not having problems it was pointing at.

The solution Saihincha suggested is working just fine. Additionally just as precousion I would add:

Code: Select all
#gkWrap1 {
position: relative;
}


to CSS just to make sure IE will handle it.
User avatar
Moderator

GK User
Sat Apr 09, 2011 8:25 am
Hello again...

The way I found to solve the logo at right side in IE7 was in fact

the solution presented in this topic by member zbeatty but adding

to #gkLogo the code

left: 10px; ( or what anyone need it to be from left )


#gkLogo { height: 103px; margin: 0; line-height: 100%; position: absolute; top: 35px; left: 10px;}


This definitely solved the problem of the horizontal logo totally miss aligned to the right in IE 7.

Thanks to all

Miguel Garcia
User avatar
Junior Boarder

teitbite
Sat Apr 09, 2011 9:55 pm
Hi

So please try what Saichinha suggested. It's less invasive, so IE should stay clear.
User avatar
Moderator


cron