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

Varia Themes: Incorrect Front-End colours with Cover, Headings, and Background Images, without Opacity #2971

Closed
ianstewart opened this issue Jan 5, 2021 · 5 comments · Fixed by #3197
Labels
[Theme] Varia [Type] Bug Something isn't working

Comments

@ianstewart
Copy link
Contributor

ianstewart commented Jan 5, 2021

Steps to replicate

  1. Visit wp.com/new
  2. Select the "Reynolds" design featured there (see screenshots below) which uses the "Rockfield" theme
  3. Create a new site
  4. Compare the front end of site with editor

Or …

Paste the following sample block content into the code editor view a test site.

<!-- wp:cover {"url":"https://iantesting363831624.files.wordpress.com/2021/01/pexels-photo-5383782.jpeg","id":23,"dimRatio":0,"align":"full"} -->
<div class="wp-block-cover alignfull" style="background-image:url(https://iantesting363831624.files.wordpress.com/2021/01/pexels-photo-5383782.jpeg)"><div class="wp-block-cover__inner-container"><!-- wp:heading -->
<h2>This is a heading in a cover block</h2>
<!-- /wp:heading --></div></div>
<!-- /wp:cover -->
  • Cover Block with image background
  • Heading inside
  • Overlay opacity at 0

Result

Editor view of cover block

image

Front-end view of cover block in Rockfield

image

Front-end with Maywood

image

Front-end with Shawburn

image

Expected

Front-end with Seedlet

image

Front-end with Spearhead

image

Front-end with Twenty Twenty

image

Sample block content result in Maywood

image

@ianstewart ianstewart added [Type] Bug Something isn't working [Theme] Varia labels Jan 5, 2021
@ianstewart ianstewart changed the title Varia Themes: Colour Scheme issues with Cover Blocks and Mis-coloured text Varia Themes: Incorrect Front-End colours with Cover, Headings, and Background Images, without Opacity Jan 5, 2021
@ianstewart
Copy link
Contributor Author

Updated the reproduction instructions with some sample content that I think isolates the issue.

@simison
Copy link
Member

simison commented Jan 22, 2021

@scruffian I couldn't replicate this anymore, did it get fixed?

@scruffian
Copy link
Member

It's possible. We've fixed a few Varia bugs this week, so this one might have been fixed accidentally. Maybe @ianstewart could confirm?

@ianstewart
Copy link
Contributor Author

ianstewart commented Feb 2, 2021

I could replicate this today in a PR that added some of the patterns above back into wp.com/new. Not sure now if theme issue or wp.com/new issue with the PR that added the patterns back.

@simison
Copy link
Member

simison commented Feb 5, 2021

@scruffian would there be any estimation on when this could be fixed? It's pretty longstanding bug that forced us to remove one of the designs from wpcom. You can replicate here: Automattic/wp-calypso#49608

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

Successfully merging a pull request may close this issue.

3 participants