Simple flat color custom backgrounds

10 replies · opened Jan 20, 2023

MmschejbalJan 20, 2023

Hi,

I would like to change only the header color to something else than "light" or "dark" as well as the whole website background to another custom color besides "light" or "dark". Where can I access these parameters please?

Thanks,
Maciek

SSemicolon WebSTAFFJan 22, 2023

Hello,

Consider using the following CSS:
[ch_pre type="css"]#header,
#header:not(.sticky-header) #header-wrap {
background-color: #ff0000;
}

#content {
background-color: #00ff00;
}[/ch_pre]

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

MmschejbalJan 22, 2023

This works great, thanks! I should have asked before but what about changing default header links color the same way (not the rollover color that is set in color.css)?

Maciek

SSemicolon WebSTAFFJan 22, 2023

Hello,

This should work fine:
[ch_pre type="css"].menu-link {
color: #444;
}[/ch_pre]

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

MmschejbalJan 22, 2023

Great, thank you!!!

MmschejbalJan 22, 2023

Actually, when I scroll down the custom color of the header created by

#header,
#header:not(.sticky-header) #header-wrap {
background-color: #ff0000;
}

is defaulting to light or dark background, the custom color doesn't hold. What's the remedy to keep it consistent please?

Thanks,
Maciek

SSemicolon WebSTAFFJan 23, 2023

Hello,

Adding !important to the CSS Property should work fine.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

SSemicolon WebSTAFFJan 23, 2023

Hello,

Consider trying this code:
[ch_pre type="css"]#header,
#header-wrap {
background-color: #ff0000 !important;
}[/ch_pre]

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

MmschejbalJan 23, 2023

Yes! You rock! Gotta love Canvas!

New license purchased.

Best,
Maciek

SSemicolon WebSTAFFJan 24, 2023

Hello,

Thank You so so much for considering to Purchase a New License of Canvas! We appreciate this very very much! :)

And we are always Happy to Help! Please do let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard