image hover add-on sizes
General Discussion
2
Posts
2
Posters
308
Views
-
Dear @tali
This would be possible with Custom CSS, targeting the Imagehover region and the images that sit inside it:

The
lay-Imagehover-regionis the parent container and the children images are calledlay-image-responsiveThe images order in the container should match the order the links appear on the page.
Because all the images sit in the same parent container and do not share different classes i would use the nth-child selector:If you have 4 images in the first section and 5 in the second section then you know to target the last 5 and apply your 'small image' css.
The following code is saying
- within the imagehover region (.lay-imagehover-region)
- target all images from the 5th:
.lay-imagehover-region img.lay-image-responsive:nth-child(n+5) { // insert desired CSS here }
hope this helps Tali & best wishes 🌝
Richard
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com