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

Image in mega menu is detected as hero image #780

Open
irinelenache opened this issue Mar 5, 2024 · 1 comment
Open

Image in mega menu is detected as hero image #780

irinelenache opened this issue Mar 5, 2024 · 1 comment
Labels
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

@irinelenache
Copy link

Description

If I have an image in the mega menu, it will be considered as hero image and will have the fetchpriority="high" attribute.
The issue was visible on the user's website (https://vertis.d.pr/i/I3ZlXT) and I managed to reproduce it with Neve Pro's mega menu (https://vertis.d.pr/i/I4fGJM)

Reported here - https://secure.helpscout.net/conversation/2529643356/407273?folderId=2353196

Step-by-step reproduction instructions

  1. Create a mega menu with Neve Pro
  2. Add an individual custom layout that has an image
  3. Check if the image in the mega menu has the fetchpriority="high" attribute

Screenshots, screen recording, code snippet or Help Scout ticket

https://vertis.d.pr/i/I3ZlXT
https://vertis.d.pr/i/I4fGJM
https://secure.helpscout.net/conversation/2529643356/407273?folderId=2353196

Environment info

WordPress 6.4.3 / Optimole 3.12.5

Is the issue you are reporting a regression

No

@irinelenache irinelenache added 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. labels Mar 5, 2024
@irinelenache
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

1 participant