Image Hover - right/left background - row or viewport height?
-
Hi Armin,
Do the effects of Image Hover Right and Left Background refer to the height of the entire viewport or just the specific row of the element? Right now, it’s working based on the full viewport height, but I’d like to have control over this or at least make it reference the row instead.
What do you think?
Best,
-
it references the whole browser
-
.lay-imagehover-on-element[data-imageposition=rightbackground], .lay-imagehover-on-element[data-imageposition=leftbackground]{ position: absolute; overflow: hidden; bottom: 0; top: 0; } .lay-imagehover-on-element[data-imageposition=rightbackground] img, .lay-imagehover-on-element[data-imageposition=rightbackground] video, .lay-imagehover-on-element[data-imageposition=leftbackground] img, .lay-imagehover-on-element[data-imageposition=leftbackground] video{ height: 100%; }Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"
to make it reference only its containing row
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login