How to change the main menu background
- GK User
- Wed Jun 18, 2014 12:07 pm
-
- Fresh Boarder
- GK User
- Wed Jun 18, 2014 11:55 pm
Hello,
Please add the following CSS code in any CSS file:
Please add the following CSS code in any CSS file:
- Code: Select all
#gkPageTop.dark,
#gkMainMenu,
#gkMainMenu > div > ul {
background: YOUR_COLOR!important;
}
-
- 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?
If i want to replace the typical 'color' with an image with standards dimensions?
-
- Fresh Boarder
- GK User
- Thu Jun 19, 2014 9:25 am
Then please use the background-image property instead of background.
-
- 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;
}
-
- 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;
}
-
- Administrator
- GK User
- Thu Jun 19, 2014 9:48 am
And something last! Which CSS file is best for this change?
-
- 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.
-
- Administrator
8 posts
• Page 1 of 1