Navigation Menu Background

Permalink
I'm trying to change the background colour of an autonav ('Responsive Header Navigation' template) in the gobal Sitewide Header Navigation area of a default installation of 5.7.5.8, using the Theme Customise setting. However, the colour never changes. I'm saving the change and publishing it. What could be going wrong?

Gondwana
 
siton replied on at Permalink Reply
siton
Its to general Q. The best way is to "inspect" element and check for "conflicts".

1) Maybe you add in your style !important or more specific "background-color" style - inline for example, more CSS file (last win). Example:
nav{ background-color: red; }
nav ul {background-color:blue;}
"blue" win.

2) From "less" view - you can "check" the compile value in your CSS (Change? not change?) - with Control+F (change to "red" and check the css code). I believe yes.

3) Maybe the custom template or your theme you dont have any class "selector" for background. I dont use this template, or elemental to answer this specific.

4) Clear cache issue
Gondwana replied on at Permalink Reply
Gondwana
Thanks for your reply. I've managed to do it using manually-entered CSS, but I don't think I should have had to. I'm surprised that none of the Theme->Customise options did the trick. Those work for drop-down sub-menus, but not the main menu bar (unless I'm missing something).
siton replied on at Permalink Reply
siton
I think the customizer depent on the markup. If you work with new custom template its not always match (unless you use the correct less vars in your selectors).

Learn about this issue in C5 docs.