× Discussion about "Restaurant" Joomla template

Mobile: text colour of Topmenu

More
5 years 6 months ago #32982 by alessandroweb
Hi,
I have a problem with the setting from Mobile view. I want to change the colour of the text in the Topmenu.
How to do it?

please have a look from mobile to:
www.al-baccanale.it/newsitehot/
The text colour is white and it is not visible.

Thanks
;)

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #32988 by ivan.milic
In it in template options. If you use predefined style then you can just add to bottom of template_css.css:

#nav li a {
color: <your color>!important;
}

#nav li a:hover {
color: <your hover color>!important;
}

replace <your color> and <your hover color> with real color values

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #32999 by alessandroweb
I'm using style4 but, once written the code as you told me, it doens't work.
Do I have to write some code/class in the OPTION page in template manager?
Thanks

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #33007 by ivan.milic
No you just select color but you are using style 4 so that custom properties will not have effect.

try this exact css for black and red, add to bottom of template_css.css:

#nav li a {
color: #000000!important;
}

#nav li a:hover {
color: #FF0000!important;
}

refresh several time after with ctrl+F5

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #33019 by alessandroweb
With your suggestion the colours change but in the pc view, not in mobile (smartphone).
I need to find the right command to modify the text colour in smartphone view. In the pc is ok.
Thanks

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #33059 by ivan.milic
They are valid for mobile browsers also, maybe just updated css is not loaded in mobile browser

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.144 seconds