How to change the main menu background

GK User
Wed Jun 18, 2014 12:07 pm
How can I change the background of main menu?

Image

I'll try to change this black bg with another one? But how?

Thanks!
User avatar
Fresh Boarder

GK User
Wed Jun 18, 2014 11:55 pm
Hello,

Please add the following CSS code in any CSS file:

Code: Select all
#gkPageTop.dark,
#gkMainMenu,
#gkMainMenu > div > ul {
background: YOUR_COLOR!important;
}
User avatar
Administrator

GK User
Thu Jun 19, 2014 9:21 am
Thanks for instant helping dziudek! :)
If i want to replace the typical 'color' with an image with standards dimensions?
User avatar
Fresh Boarder

GK User
Thu Jun 19, 2014 9:25 am
Then please use the background-image property instead of background.
User avatar
Administrator

GK User
Thu Jun 19, 2014 9:40 am
Like this?


Code: Select all
#gkPageTop.dark,
#gkMainMenu,
#gkMainMenu > div > ul {
background: background-image:url('test.png');!important;
}
User avatar
Fresh Boarder

GK User
Thu Jun 19, 2014 9:43 am
Please try to use like this:

Code: Select all
#gkPageTop.dark {
background-image:url('test.png')!important;
}
#gkMainMenu,
#gkMainMenu > div > ul {
background: transparent!important;
}
User avatar
Administrator

GK User
Thu Jun 19, 2014 9:48 am
And something last! Which CSS file is best for this change?
User avatar
Fresh Boarder

GK User
Thu Jun 19, 2014 10:39 pm
The best one in my opinion is the override.css file - please remember to enable this file in the advanced settings of the template.
User avatar
Administrator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.