change Menu font size in GK News template

October 2015 Joomla Template
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Apr 23, 2017 8:13 am
Reply with quote
Report this post
Hi Folks
I am trying to change the menu font size in my News template. I have enabled template override, and added the following code -
#gkMainMenu > div.gk-menu > ul > li > a {font-size:10px;}

But it is not working...anything i am doing wrong? Thanks
Madhu
User avatar
Fresh Boarder

teitbite
Sun Apr 23, 2017 2:30 pm
Reply with quote
Report this post
Hi

This worked for me. Please try:

Code: Select all
#gkPageTop .gkMenu > ul > li > a {
    font-size: 10px;
}
User avatar
Moderator

GK User
Sun Apr 23, 2017 4:15 pm
Reply with quote
Report this post
Hmm..does not seem to work!
User avatar
Fresh Boarder

GK User
Tue Apr 25, 2017 7:57 am
Reply with quote
Report this post
Hello Teitbite...maybe it was cached..but it is working. Thanks for the help.
Can I use override even for the main body and other module fonts?
User avatar
Fresh Boarder

teitbite
Tue Apr 25, 2017 2:49 pm
Reply with quote
Report this post
Hi

Yes, You can overwrite almost every style. Easiest to figure out what class to use is by using some developer tool. I'm using Firebug on Firefox.
User avatar
Moderator


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