Global styles: custom "button" colors not reflected on live site #74223
Labels
[Closed] By design
Behaviors that are functioning as designed.
[Platform] Atomic
[Pri] Low
Address when resources are available.
[Status] Core Fix Needed
A fix within the Core WordPress or Gutenberg project is required to resolve this issue.
Triaged
To be used when issues have been triaged.
[Type] Bug
When a feature is broken and / or not performing as intended
Quick summary
In the Styles pane, under Colors, some themes have a specific "Buttons" color area to set the text/background color for buttons. In some tested themes, the changes may or may not be reflected in the editor, and aren't reflected on the live site.
Steps to reproduce
What you expected to happen
Buttons should change to reflect the chosen colors, both in the editor and on the live site.
What actually happened
In Meraki, the button doesn't change in either the editor or the live site. Button block-specific styles (i.e. Styles > Blocks > Button > Colors) do work in both places.
In Twenty Twenty-Three, the editor does reflect the changes, but the live site does not. Button block-specific styles again seems to work in both places.
With the Styles > Colors > Buttons styles modified only, it looks like the default colors are applied just after the custom colors in the theme CSS, causing the custom style to be overwritten.
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Atomic
Logs or notes
Tested only on Atomic so far, and only on these two themes. Reported in 6024659-zd-woothemes.
Using block-specific styles (Styles > Blocks > Button > Colors) seems to work as a workaround. It's not clear from a user's perspective why there's two different places to edit button colors (technically more, as there's also the Buttons block, and a separate Button block styles with no color options).
The text was updated successfully, but these errors were encountered: