Archived topic
Change button color with Gutenberg
3 replies · Started by Jan on October 26, 2021
Hi,
here, https://lokalpartner.info/folk/
in the middle of the page, you see a blue button with the text "VILKA ÄR VI?"
Tried to change the background color in Customize->Colors->Button but no success.
I emptied the cache, deactivated the cache plugin, followed some threads here but unfortunately, that didn´t help.
Can YOU help me fix this?
Thanks
Jan
Hi there,
the core Block widget doesn't respect the Customizer colors - they only apply to the Theme Buttons.
If you want better styling control over a button in the editor then i would recommend using the GenerateBlocks plugin, which gives you full color controls for the button and other styling options:
https://docs.generateblocks.com/article/buttons-overview/
And if needed we can provide some Code so the GB Buttons do respect the customizer colors.
Thanks, David
yepp, had that plugin already installed and with your document, it is now fixed!
Best regards
Jan
Glad to hear that!!