Specific image hover size and position
-
I've added a hover image to my list, but I'd like to be able to control the size and position of the image.
Here is the link to my page : https://anaisfernon.com/home-copy/?lay_preview=true&preview_post_id=171&preview_nonce=289f672cee&t=1779099505967
I'd like them all to appear in the same spot, as shown in the photo below:
``Could you please help me finding a solution ? Thank you...
-
hey! When creating an image hover link in a text or simply for an image, there are already settings to change the image hover position and type there.
But unfortunately, those settings are still missing for the project index element.
I'm writing this down as an idea.
-
Hey! Thank you for replying. I had the time to finally find a solution. Here is the code I used if someone is interested:
.lay-imagehover-on-element .lay-image-responsive {
width: clamp(150px, 20vw, 500px) !important;
height: auto !important;
position: fixed !important;
top: 320px !important;
right: 40px !important;
transform: none !important;
} -
wow, that's very clever. Well done!
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it