Tagged: custom color
I think this one is probably really easy I hope… I don’t want to change my theme colors currently used on site, but every so often I need to create a button or other element with hex color 002349. I always have to enter it as a custom color when the color menu comes up.
Is there a way I can have hex 002349 come up as an option of one of the colors to choose when the color choice menu comes up, for example when choosing font colors? I notice there are preset colors there which I rarely use, and then some clear boxes at the bottom.
Thanks!!
Rob
Uh oh… I just found this thread…. maybe not so easy afterall…
https://kriesi.at/support/topic/adding-custom-colors-to-text-color-picker/
Hey Rob!
Please go to Enfold theme options > Layout Builder and check “Show element options for developers” and then edit your custom buttons and give them a custom CSS class (“custom-button” in example below) and then add following code to Quick CSS
.custom-button .avia-button {
background-color: #002349;
}
:)
Best regards,
Yigit
Great workaround, thanks Yigit!
Hi,
I’m glad Yigit was able to help you. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon