Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
882 stars 351 forks source link

Twenty Twelve: Buttons block inside widgets is not respecting the custom colors options #5588

Open Robertght opened 2 years ago

Robertght commented 2 years ago

Quick summary

With Twenty Twelve, when we add a Buttons block and try to change the color options, it doesn't get applied despite having the right classes.

I'm reporting this here as Block widgets appear to be specific to .com.

Steps to reproduce

  1. Activate Twenty Twelve
  2. Add a button block
  3. Try to change the colors(text/background) of the buttons block

What you expected to happen

To have them show up

What actually happened

They don't appear in the widgets/Customizer area or the frontend

Context

4804981-zd

Simple, Atomic or both?

Simple, Atomic

Theme-specific issue?

Twenty Twelve

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, difficult to implement

Workaround details

Adding a custom class + a bit of CSS code should do.

mrfoxtalbot commented 2 years ago

This is coming from core. I found a ticket that partially addressed it in https://core.trac.wordpress.org/ticket/45432 but only fixed the issue on buttons added to the main content.

I have opened a separate issue to track the problem with colors not applying to button blocks inside widgets specifically https://core.trac.wordpress.org/ticket/56290

mrfoxtalbot commented 2 years ago

Also related to https://github.com/Automattic/themes/issues/6054#issuecomment-1195849205 (updating to the latest version of Twenty Twelve)