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

GenerateBlocks Container Background Image Not Optimized When Selector is Set to Pseudo Element #842

Open
kushh23 opened this issue Oct 9, 2024 · 0 comments
Assignees
Labels
3rd-part-compatibilities Issue or feature related to a compatibility with a 3rd party product. bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer.

Comments

@kushh23
Copy link

kushh23 commented Oct 9, 2024

Description

A user reported that their GenerateBlocks's homepage container background image was not being optimized by Optimole. Upon investigation, I discovered that under the background image option, there is a setting of Selector; when it is set to "Pseudo Element," it prevents Optimole from optimizing the image. However, switching the option to "Element" allows Optimole to optimize it as expected.

Could we investigate whether this issue originates from our side or theirs? If it's on our end, we should address it to ensure compatibility. In the meantime, I have advised the user to set the option to "Element."

Step-by-step reproduction instructions

  1. Install and activate the GenerateBlocks and Optimole plugins.
  2. Add a container using GenerateBlocks and Set the container background image option to "Pseudo Element."
  3. Check whether the image is optimized by Optimole (it will not be).
  4. Change the Selector option to "Element."
  5. Check if the image is now optimized by Optimole (it will be).

Screenshots, screen recording, code snippet or Help Scout ticket

Reported here - https://secure.helpscout.net/conversation/2725973401/436218?viewId=2353196

Image
Image
Image

Environment info

No response

Is the issue you are reporting a regression

No

@kushh23 kushh23 added bug This label could be used to identify issues that are caused by a defect in the product. 3rd-part-compatibilities Issue or feature related to a compatibility with a 3rd party product. labels Oct 9, 2024
@pirate-bot pirate-bot added the customer report Indicates the request came from a customer. label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd-part-compatibilities Issue or feature related to a compatibility with a 3rd party product. bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer.
Projects
None yet
Development

No branches or pull requests

3 participants