Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Rowling: Block Widgets Break Theme Styling on Categories Block #55669

Open katiebethbrown opened 3 years ago

katiebethbrown commented 3 years ago

Steps to Reproduce

When the change from Classic to Block widgets took place, category widgets were converted to a heading block and a categories block.

The heading block then loses the styling from the theme, which has to be added manually. There doesn't seem to be a way to code the theme's custom colors into the CSS either, so if they change colors in the customizer they will need to manually update the CSS color to match (since the widget headings use the theme color for the underline).

  1. Set Rowling as the active theme
  2. Add a heading and categories block to the widget area

What I expected to happen

For the widget headings to be styled to match the theme demo, no matter how they were added.

SkU0Oq

What actually happened

The legacy widgets retained the correct styling, but widgets converted to blocks were not styled to match the theme. (ie - the Categories heading in the screenshot)

Iup5nD

Context

User report - 31279114-hc

Operating System

Windows, macOS, Android, iOS

OS Version

No response

Browser

Chrome/Chromium, Firefox, Microsoft Edge, Microsoft Edge (legacy), Safari

Browser Version(s)

No response

Is this specific to applied theme? If so, what is the theme name?

Rowling

Simple/Atomic

Simple, Atomic

Console and/or error logs

No response

Number of Users Impacted

Some users (<50%)

Available Workarounds

Using the blog sticker to deactivate block widgets allows the correct theme styling to apply, though that isn't really a sustainable workaround.

Reproducibility

Consistent

Other information

No response

Robertght commented 3 years ago

Thank you for flagging this @katiebethbrown !

I'm not able to replicate this using the legacy widgets option and when trying to switch between the legacy/block widgets, I don't see any changes.

I'm flagging this here(p2-p7DVsv-cqD#comment-37381) for discussion as I'm not entirely sure it's theme-specific.