themes icon indicating copy to clipboard operation
themes copied to clipboard

All Themes: Color customization changes didn’t reflect on live site until Palette is chosen

Open retnonindya opened this issue 6 years ago • 82 comments

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

  1. Activate Barnsbury theme with static homepage (presumed using default page Home that created as the theme is activated.)
  2. Go to Customize > Colors & Backgrounds. Change the colors on the color options/circles accordingly.
  3. 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:

  1. Noticed the colors didn't change
  2. Go to Customize > Colors & Backgrounds
  3. Click the available palette on the 'Choose a palette' option.
  4. 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

retnonindya avatar Aug 15 '20 12:08 retnonindya

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.

  1. Edit any page or post, and select a header block.
  2. Edit the color of the text to one of the custom colors that appear.
  3. 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.

ktyfuller604 avatar Aug 17 '20 19:08 ktyfuller604

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.

  1. Asked the user to leave the customizer
  2. Selected a featured palette and saved instead of setting it back to default
  3. 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.

JoshuaGoode avatar Aug 18 '20 15:08 JoshuaGoode

Ran into another instance with Barnsbury: zd-3228309

brookewp avatar Aug 19 '20 21:08 brookewp

And another for Balsana: zd-3225366

brookewp avatar Aug 19 '20 21:08 brookewp

Another for Balsana: zd-3191855

brookewp avatar Aug 19 '20 22:08 brookewp

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

allancole avatar Aug 20 '20 17:08 allancole

Another report here for Balasana: 8299656-hc

joweber123 avatar Aug 26 '20 03:08 joweber123

Ran into this issue on Barnsbury theme: zd-3282285

Followed the workaround mentioned to fix it.

devNigel avatar Sep 03 '20 04:09 devNigel

Another report here for Balasana: zd-3299762

poojashetty18 avatar Sep 09 '20 08:09 poojashetty18

Another report for the Brompton theme: zd-3305400

I was able to follow the workaround to help assist the user.

TeniCola avatar Sep 10 '20 21:09 TeniCola

Two more reports: zd-3313145 zd-3313616

retnonindya avatar Sep 14 '20 06:09 retnonindya

Something like this happened here as well- zd-3291895

I re-applied the link colors from Customizer and it fixed it for me.

ahmadbaig1 avatar Sep 16 '20 19:09 ahmadbaig1

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.

carinapilar avatar Sep 17 '20 19:09 carinapilar

Another report in 23694557-hc

formosattic avatar Sep 18 '20 03:09 formosattic

Another report in #8869730-hc

sanjeev00733 avatar Sep 18 '20 04:09 sanjeev00733

Another 3329520-zen

mikeicode avatar Sep 19 '20 16:09 mikeicode

Another with the Redhill theme #3318365-zen

Nic-Sevic avatar Sep 20 '20 06:09 Nic-Sevic

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.

lakellie avatar Sep 20 '20 15:09 lakellie

Another report in #23304656-hc

chrisfromthelc avatar Sep 20 '20 23:09 chrisfromthelc

Another report in 24017955-hc. In this case, the custom colors were showing in the editor, but not on the live site.

serabi avatar Sep 22 '20 12:09 serabi