Button color in header

10 replies · opened Jan 11, 2021

PpotteryguyJan 11, 2021

How can I make bottuns not assume the color of the site! I would like it to remain red, and not blue in the header.

PpotteryguyJan 12, 2021

Thank you!

SSemicolon WebSTAFFJan 12, 2021

Hello,

Apologies for the Inconveniences regarding this! This appears to be a Bug and we are working on resolving this and will release an update for this soon.

Meanwhile, to fix this, simply find the following code in the style.css File:
[ch_pre type="css"].button-red { background-color: #C02942; }[/ch_pre]

and add the !important condition to the CSS Property. You can do this for all the Button Colors defined.

This will definitely fix the issue. Hope this Helps!

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

PpotteryguyJan 13, 2021

Hello, and as always, thank you for your reply. This is what I have done in the style.css and it is not changing...

/* Buttons - Colors
-----------------------------------------------------------------*/

.button-red { background-color: #C02942; !important; }
.button-3d.button-red:hover,
.button-reveal.button-red:hover,
.button-border.button-red:hover,
.button-border.button-red.button-fill::before { background-color: #C02942 !important; }

PpotteryguyJan 14, 2021

Hello! Thanks as always for all your great help. Did I do the !important code correctly above? I cannot get the button to be red in my header. Thank you so much.

SSemicolon WebSTAFFJan 15, 2021

Hello,

Thanks for your Patience!

The Code you are using is incorrect! The Correct Code should be:
[ch_pre type="css"].button-red { background-color: #C02942 !important; }[/ch_pre]

This should work fine. Hope this Helps!

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

PpotteryguyJan 15, 2021

Thank you so much? And what is different with the code you just sent me?

SSemicolon WebSTAFFJan 15, 2021

There is an extra SemiColon in your Code.

PpotteryguyJan 15, 2021

Thank you so much.

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