Sub Menu Color

Support desk for Multipurpose Quark Theme
GK User
Thu Feb 19, 2015 12:42 am
Hi Guys,

The new main menu is amaizing, thank you for the quickly update.

We just want to change the sub menu color (from White to Blue) i only need to know the line and the file.

So i want to know if i can reduce the horizontal size of sub menu too.

thank you
User avatar
Gold Boarder

GK User
Thu Feb 19, 2015 7:27 am
Could you please post an url to your site?
User avatar
Moderator

GK User
Thu Feb 19, 2015 3:22 pm
Code: Select all
#gkHeaderNav .gkMainMenu .gkmenu > li div.childcontent {
background: #fff;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
-moz-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
border-radius: 3px;
margin-top: 0;
padding: 16px 12px;
text-transform: none;


background: #fff; - this :)

about line 1161 in template.css
User avatar
Expert Boarder

GK User
Thu Feb 19, 2015 8:11 pm
Thank you :)
User avatar
Gold Boarder

GK User
Fri Feb 20, 2015 4:09 pm
Advicing on editing template core css files is a bad idea.
@ancaida
Quark has a system of less compilation software allowing for advanced users to make changes fast. You can disable the "recompile .less files" option in template settings (if it is enabled), then:
please edit: /templates/gk_quark/css/override.css and add at its end:
Code: Select all
#gkHeaderNav .gkMainMenu .gkmenu > li div.childcontent {
background: #fff;
}

Please change #ff to your desired color.
Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Sat Feb 21, 2015 12:35 am
Thank you guys,

Just only want to change the sub menu font color from black to white.

Regards!!
User avatar
Gold Boarder

GK User
Sun Feb 22, 2015 5:51 pm
Even that small kind of change is better to be done in override.css or even in the template settings area where you can enter it into custom textarea.
User avatar
Moderator

GK User
Tue Feb 24, 2015 2:19 pm
Thx @Cyberek
How can i change the text color??

Thank you
User avatar
Gold Boarder

GK User
Thu Feb 26, 2015 4:35 pm
Text color of menu item?
User avatar
Moderator

GK User
Thu Feb 26, 2015 4:36 pm
Yes, thank you
User avatar
Gold Boarder

GK User
Thu Feb 26, 2015 4:39 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Fri Feb 27, 2015 6:02 pm
Yes Sure,

http://www.flatcodes.com

My target is like your submenu color (blue background and white fonts).

Regards
User avatar
Gold Boarder

GK User
Sat Feb 28, 2015 12:48 pm
To change submenu font color please use this code in override.css:
Code: Select all
#gkHeaderNav .gkMainMenu .gkmenu > li div.childcontent li > a {
color: #26292b;
}

To change hover color, use this code:
Code: Select all
#gkHeaderNav .gkMainMenu .gkmenu > li div.childcontent li > a:hover {
color: #4999d5;
}
User avatar
Moderator

GK User
Sat Feb 28, 2015 12:52 pm
u r the best!
User avatar
Gold Boarder

GK User
Sat Feb 28, 2015 12:53 pm
Thanks for the words of appreciation :)
Please let me know if you would have any additional questions regarding this topic.
User avatar
Moderator

GK User
Sat Feb 28, 2015 1:11 pm
just only

Narrow the menu! (width)

Regards
User avatar
Gold Boarder

GK User
Sun Mar 01, 2015 12:03 pm
Solved!!

#gkHeaderNav .gkMainMenu .gkmenu > li div.childcontent {
width: 30%;
}
User avatar
Gold Boarder

GK User
Sun Mar 01, 2015 9:40 pm
Yep, thats exactly it.
Ps, you can use [ CODE] some html/css/php code [/CODE ] (without spaces) to wrap code and display it better.
User avatar
Moderator


cron