All Themes: Color customization changes didn’t reflect on live site until Palette is chosen
I unable to replicate this on my test site, but I received a user report -- and I able to replicate it on the user's site. On this case, Barnsbury theme.
How to replicate
- Activate Barnsbury theme with static homepage (presumed using default page Home that created as the theme is activated.)
- Go to Customize > Colors & Backgrounds. Change the colors on the color options/circles accordingly.
- Click 'Save Changes'.
What I expect
The color changes saved and reflected properly on the live site
What happened instead
The colors are still using Barnsbury's default color scheme (green and cream)
Workaround (sort of...?)
I found that the expected change happened if we are using this flow:
- Noticed the colors didn't change
- Go to Customize > Colors & Backgrounds
- Click the available palette on the 'Choose a palette' option.
- Click 'Save changes'
Then, the colors are saved.
I'm not sure what happened and why we need to 'kickstart' it from palette -- and I unable to replicate it on my test site.
I hope this is the correct GH repo. Feel free to transfer this issue to its appropriate repo if this is not the correct place. Thank you.
Reference: Since this is user report, I can't provide the direct link. Feel free to ping me if you need more details. Thanks!
Update: other workaround suggested, to reset the colors cache, add ?clear-colors-cache=1 to the end of their wordpress site URL, ie https://USERSITENAME.wordpress.com/?clear-colors-cache=1
Another report using the Barnsbury theme.
I also noticed if you edit text on a page, and change the color of the text to one of the new "default" colors, the color used is one of the theme colors. But, if you use a custom color, it works fine.
To reproduce - Follow the same steps to set custom colors in the original report.
- Edit any page or post, and select a header block.
- Edit the color of the text to one of the custom colors that appear.
- Preview page - note that the theme's default color gets applied.
Applying the workaround worked for fixing that example as well.
I was also able to reproduce the issue using the Exford theme.
Encountered this with the Balasana theme on 22818168-hc
The custom colors were working in the customizer preview and the block editor -- but not the front end.
We discussed a bit in slack on p1597762340405000-slack-C03TY6J1A
@davipontesblog set the colors to default and then changed them back to resolve initially.
User returned later saying they were back to the default on the front end.
I did the following to help get it to stick.
- Asked the user to leave the customizer
- Selected a featured palette and saved instead of setting it back to default
- Set the colors back to their custom colors and saved
This appears to have made it stick. The user could have had an older instance of the Customizer open or it could have been due to the default palette.
Ran into another instance with Barnsbury: zd-3228309
And another for Balsana: zd-3225366
Another for Balsana: zd-3191855
Hi all, yes this is a known issue. We haven’t found an all-encompassing fix yet, but the short cut to fixing this for users who report it is to reset the colors cache.
You can do so by adding ?clear-colors-cache=1 to the end of their wordpress site URL, ie:
https://USERSITENAME.wordpress.com/?clear-colors-cache=1
Another report here for Balasana: 8299656-hc
Ran into this issue on Barnsbury theme: zd-3282285
Followed the workaround mentioned to fix it.
Another report here for Balasana: zd-3299762
Another report for the Brompton theme: zd-3305400
I was able to follow the workaround to help assist the user.
Two more reports: zd-3313145 zd-3313616
Something like this happened here as well- zd-3291895
I re-applied the link colors from Customizer and it fixed it for me.
I had a user with the same issue on hc-24211215. They use the Exford theme, on top of not seeing the chosen colors from the Customizer on the site, the Button block also wasn't showing the selected background colors set in the editor.
The user complained that 2 of their buttons on the front page were in a different color, which was correct when editing the page, but not on the site. Even after changing the button's background color multiple times, it seems it wasn't being applied to the page's code. I manually added the style to the page's code, then it saved, although we had to use ?clear-colors-cache to be able to see it on the site.
I also wasn't able to replicate on a test site - I'm afraid it might be somehow related to this cache thing.
Another report in 23694557-hc
Another report in #8869730-hc
Another 3329520-zen
Another with the Redhill theme #3318365-zen
Similar report in #3329520-zen In this case, the colors were actually showing on the live site, but the editor was still showing the default colors. Choosing a palette and then re-selecting the custom colors fixed the editor.
Another report in #23304656-hc
Another report in 24017955-hc. In this case, the custom colors were showing in the editor, but not on the live site.