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

Cover block: Can not set repeated background image with gradient overlay #39108

Closed
webmandesign opened this issue Feb 27, 2022 · 3 comments
Closed
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended

Comments

@webmandesign
Copy link
Contributor

webmandesign commented Feb 27, 2022

Description

It seems to be impossible to set Cover block with repeated transparent PNG image on background positioned 50% 0 and overlaid with a gradient.

Step-by-step reproduction instructions

  1. Create a Cover block in a page and set it with these:
  • Media settings:
  • Overlay:
    • Opacity = 100,
    • Linear gradient from #d1e4dd to #d1e3dce0 (rgba(209, 227, 220, 0.88)), angle 0°.
  1. Compare the result with expectations seen in the screenshot below:
  • The image can not be seen as the circles in PNG background image are semi transparent black and the Cover block background color is black as set by Cover block default styles.
  • The position of the image is set to 50% in Cover block default styles and custom position from block settings is not honored.

Screenshots, screen recording, code snippet

cover block issue

Environment info

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@annezazu annezazu added [Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended labels Feb 28, 2022
@matiasbenedetto
Copy link
Contributor

matiasbenedetto commented May 27, 2022

I'm not able to reproduce this using the latest trunk version of Gutenberg. Seems to be fixed with the latest Cover Block changes regarding fixed and repeated backgrounds.

@webmandesign
Copy link
Contributor Author

The issue still persist for me. Using WP 6.0.1 and Twenty Twenty-One 1.6.

@jordesign
Copy link
Contributor

I'm no longer able to recreate this in WP6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants