Centering logo and menu

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Oct 08, 2013 7:23 pm
Reply with quote
Report this post
I'm trying to figure out how to center the logo and main menu at the top of the page. I figured out how to move the menu under the logo with some custom css but I'm unable to center everything.
User avatar
Senior Boarder

GK User
Tue Oct 08, 2013 8:37 pm
Reply with quote
Report this post
Hi,
How to use firebug , read here ---> http://www.gavick.com/documentation/joo ... -size-etc/

For sure you have to disable almost all floats start from this :
Code: Select all
#gkMainMenu {float:none;   }



but...
You can always request support from us, but you need take in your mind that customization is not regular Template support.
User avatar
Platinum Boarder

GK User
Tue Oct 08, 2013 11:21 pm
Reply with quote
Report this post
I set all the floats to none and I can move the logo and the menu around by adding margins but I can't get anything to center. I've tried a lot of scenarios using firebug but no luck there either.
User avatar
Senior Boarder

GK User
Wed Oct 09, 2013 11:40 pm
Reply with quote
Report this post
could you add here visualization how it must be , use simple graphic tool - it will help me help you more.

But of course you know that those changes can crash a little mobile version.
User avatar
Platinum Boarder

GK User
Thu Oct 10, 2013 12:10 am
Reply with quote
Report this post
Here is a screen shot
User avatar
Senior Boarder

GK User
Sun Oct 20, 2013 12:25 pm
Reply with quote
Report this post
And where is URL.

Second possibility it to modify code closely in : gk_creativity\layouts\default.php
User avatar
Platinum Boarder

GK User
Thu Oct 24, 2013 1:42 am
Reply with quote
Report this post
Here is a link

http://wezworldtest.com/agnes/

I am able to add left-margin padding to the Logo and Menu to center them but that doesn't help when you click learn more links on the front and get inside the site where the Menu is different.
User avatar
Senior Boarder

GK User
Thu Oct 31, 2013 11:41 pm
Reply with quote
Report this post
Well it's been a week now :(
User avatar
Senior Boarder

GK User
Wed Nov 06, 2013 8:28 pm
Reply with quote
Report this post
Sorry for late response - Pawel is on a vacation break.

I see you have already made some css changes with override.css.

To center the image add this at the end of override.css:
Code: Select all
.gkLogo {
width: 100%;
}
#gkLogo.cssLogo {
width: 100%;
background-position: 50% 0;
}
User avatar
Moderator

GK User
Wed Nov 06, 2013 8:29 pm
Reply with quote
Report this post
To center the menu add this code:
Code: Select all
.gkMenu > ul {text-align: center;}
.gkMenu > ul > li {float: none; display: inline-block;}
User avatar
Moderator

GK User
Wed Nov 06, 2013 8:57 pm
Reply with quote
Report this post
Excellent that worked perfectly. Thanks!
User avatar
Senior Boarder

GK User
Sat Nov 09, 2013 10:17 am
Reply with quote
Report this post
No problem, I'm glad I could help.
User avatar
Moderator


cron