How center logo and main menu
- GK User
- Sun Mar 22, 2015 11:40 am
I need hrlp how center logo and main menu. also how increase submenu font side?
Help pls. Thanks
site url: http://palavani.ge
Help pls. Thanks
site url: http://palavani.ge
-
- Senior Boarder
- GK User
- Sun Mar 22, 2015 11:58 am
1. Centering the logo:
Please edit: /templates/gk_gamemagazine/css/override.css and add at its end:
Remember to enable "CSS override" in template settings - advanced section.
Please edit: /templates/gk_gamemagazine/css/override.css and add at its end:
- Code: Select all
#gkLogo {float: none;}
#gkLogo a {display: block; margin: 0 auto; width: 350px;}
Remember to enable "CSS override" in template settings - advanced section.
-
- Moderator
- GK User
- Sun Mar 22, 2015 12:00 pm
To center the menu, add this to override.css:
- Code: Select all
#gkMainMenu > div > ul {
text-align: center;
}
div.gk-menu > ul.level0 > li {
float: none;
display: inline-block;
}
-
- Moderator
- GK User
- Sun Mar 22, 2015 12:01 pm
To increase font size:
and adjust 12px value to your liking.
- Code: Select all
#gkMainMenu > div > ul div.childcontent a, #gkMainMenu > div > ul div.childcontent span {
font-size: 12px;
}
and adjust 12px value to your liking.
-
- Moderator
- GK User
- Sun Mar 22, 2015 6:41 pm
Cyberek wrote:1. Centering the logo:
Please edit: /templates/gk_gamemagazine/css/override.css and add at its end:
- Code: Select all
#gkLogo {float: none;}
#gkLogo a {display: block; margin: 0 auto; width: 350px;}
Remember to enable "CSS override" in template settings - advanced section.
Thanks for fast answer. I successfully changed submenu font size and centred main menu but can't set logo to the center. I added this above code in override.css file and also enabled "CSS override" in template settings - advanced section.
So any idea to center logo?
Thanks
-
- Senior Boarder
- GK User
- Tue Mar 24, 2015 8:58 am
The logo is centered correctly. Could you please provide some more details? What browser, what os?
-
- Moderator
- GK User
- Tue Mar 24, 2015 2:32 pm
Cyberek wrote:The logo is centered correctly. Could you please provide some more details? What browser, what os?
Very strange I have Firefox 36.0.4 but also tried in chrome 41 and IE 11 and logo always in left side of site. OS is WIn 7 and WIn 8.1
I also cleared cache but same view.
-
- Senior Boarder
- GK User
- Tue Mar 24, 2015 9:00 pm
My mistake... Please modify:
to:
- Code: Select all
#gkLogo {float: none;}
to:
- Code: Select all
h1#gkLogo {float: none;}
-
- Moderator
- GK User
- Wed Mar 25, 2015 8:58 am
Thank you Cyberek. Problem Solved.
-
- Senior Boarder
- GK User
- Wed Mar 25, 2015 7:26 pm
Please let me know if you would have any additional questions regarding this topic.
-
- Moderator
10 posts
• Page 1 of 1