themes icon indicating copy to clipboard operation
themes copied to clipboard

Multiple Themes: Tertiary color backgrounds are not visible on the site.

Open devNigel opened this issue 4 years ago • 14 comments

Quick summary

On theme Stow, when Tertiary color is set as the background color, the background color is not working. I was able to reproduce this on Simple and AT sites.

I shared a workaround and let the user know that we will update them once it is fixed.

Steps to reproduce

  1. Activate Stow theme.
  2. On the page editor, add a paragraph block.
  3. Apply the same color set as Tertiary color in Customize > Colors > Tertiary color as the background color of the block.
  4. Preview it.
  5. You will see the background color is something else.
image image

What you expected to happen

The background color seen in editor should be visible on live page as well.the

What actually happened

The background color on the live page was different.

Context

User report: 4803117-zen

Simple, Atomic or both?

Simple, Atomic

Theme-specific issue?

Stow

I could not find other themes with tertiary color setting.

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

All

Available workarounds?

Yes, easy to implement

Workaround details

Use a slightly different color code that looks similar to Tertiary color.

devNigel avatar Feb 23 '22 05:02 devNigel

I've found this to be the case on Hever as well. but not for Varia itself - so it seems specific to some child themes. One thing I noted is that Varia does not include a Tertiary color itself - but the child themes do.

When the color is applied - a class is added to the element:

  • has-tertiary-background-color has-background, or
  • has-tertiary-color has-text-color

But then no color declaration comes in the CSS. Maybe related to this PR: https://github.com/Automattic/themes/pull/3223

Ineraction: #4803951-zen

jordesign avatar Feb 24 '22 01:02 jordesign

another instance here: 4805667-zd-woothemes this time with the columns block

Nic-Sevic avatar Feb 24 '22 12:02 Nic-Sevic

Another instance here: 4809339-zd

Paragraph block background color not working on the Hever theme.

AMcGrady avatar Feb 24 '22 16:02 AMcGrady

Reported here: 4809827-zd Blank Canvas theme

AMcGrady avatar Feb 24 '22 17:02 AMcGrady

Possibly related: https://github.com/Automattic/themes/issues/4639 ?

AMcGrady avatar Feb 24 '22 22:02 AMcGrady

Reported here 33966058-hc for Rockfield theme

poeticabdul avatar Feb 28 '22 10:02 poeticabdul

Another report here: 4822858-zen

Gustavo-Hilario avatar Mar 03 '22 12:03 Gustavo-Hilario

Also reported in the forum (Hever theme): https://wordpress.com/forums/topic/%e7%ac%ac%e4%b8%89%e4%b8%bb%e9%a2%98%e8%89%b2%e5%a4%b1%e6%95%88-tertiary-theme-color-doesnt-work-2/?view=all

metabreakr avatar Mar 03 '22 17:03 metabreakr

Another one here: 4827587-zd

mriyazuddin avatar Mar 04 '22 03:03 mriyazuddin

Another one here (Blank Canvas theme): 4836622-zen

syds87 avatar Mar 07 '22 12:03 syds87

Another one here: 4838881-zen Theme: Stratford I gave this user some CSS as a workaround:

.has-tertiary-background-color {
    background-color: #ef7f16;
}

ccwalburn avatar Mar 07 '22 15:03 ccwalburn

In my case(#4843484-zen) I used replaced C5C5C5 with c5c5c5 and it worked.

Robertght avatar Mar 14 '22 07:03 Robertght

Another report in 4879648-zd-woothemes Theme: Hever

This CSS should fix it:

.has-tertiary-background-color {
    background: var(--wp--preset--color--tertiary);
}

...but this user is on a Personal plan. Showed them how to switch to a similar color (#C4C4C4) instead. (Robert's suggestion of #c5c5c5 instead of #C5C5C5 didn't work for me.)

jp-imagines avatar Mar 22 '22 14:03 jp-imagines

Another report for this in Hever, though with the Text Color set to the tertiary color, in a table block.

https://wordpress.com/forums/topic/word-color-from-white-turn-black/?view=all

KokkieH avatar Mar 23 '22 11:03 KokkieH