Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Morden: Pullquote block background color not affecting frontend #2485

Closed
nielslange opened this issue Sep 19, 2020 · 3 comments
Closed

Morden: Pullquote block background color not affecting frontend #2485

nielslange opened this issue Sep 19, 2020 · 3 comments
Assignees
Labels
[Pri] Normal [Type] Bug Something isn't working
Milestone

Comments

@nielslange
Copy link
Member

nielslange commented Sep 19, 2020

Steps to replicate

  1. Create a new page or post
  2. Add the Pullquote Block
  3. Set the background color to blue

Result

The background color of the pullquote is red, as defined in

.wp-block-pullquote.is-style-solid-color {
background-color: #CD2220;
color: white;

Expected

The background color of the pullquote is blue. It seems that due to CSS Specificity, the color selected by the customer is overwritten by the default color of the pullquote block.

  • User report: 24249027-hc
  • Follow-up ticket: 3331007-zen
@nielslange nielslange added this to the Morden milestone Sep 19, 2020
@MaggieCabrera MaggieCabrera self-assigned this Sep 21, 2020
@MaggieCabrera
Copy link
Contributor

MaggieCabrera commented Sep 21, 2020

This is affecting other Varia children (I have tested Coutoire). Looking into this.

Related: #1634

@MaggieCabrera
Copy link
Contributor

MaggieCabrera commented Sep 21, 2020

This is affecting more than one block from Varia and its children. I'm looking into making a PR to fix this directly in Gutenberg, like this PR: WordPress/gutenberg#25291

@rinazrina
Copy link

Another report here #3326590-zen

Theme: Stow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Normal [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants