themes icon indicating copy to clipboard operation
themes copied to clipboard

Radcliffe 2: Media & Text block bg color ignored when Style Pack is set

Open nickpagz opened this issue 7 years ago • 1 comments

Steps to replicate

  1. In Customizer > Style Packs choose Vintage Paper and Publish.
  2. Create a new page or post.
  3. Add a Media & Text block, and add content.
  4. For the whole block, set a Background color.
  5. Publish the page or post and view it.

Result

While editing the page, the background color is visible: oops - image missing

When viewing the live page, the background color is ignored: oops - image missing

Expected

I would expect the block's settings to override the Style Pack and show the background color on the live page.

  • User report: #13725472-hc
  • Follow-up ticket: #2145731-zen

I've provided the user some css as a temporary workaround for this:

/* Fix for M&T block bg not showing when style pack is set NP #2145731-zen */
#post-96 > div > div.wp-block-media-text.alignwide.has-vintage-light-brown-background-color {
    background: none;
    background-color: #c7c4b4;
}

nickpagz avatar Jul 01 '19 23:07 nickpagz

I encountered this issue here as well: #14311404-hc

The user has Modern Business active on the site

I used CSS as a workaround as well

selectedselections avatar Jul 31 '19 19:07 selectedselections