Hover on simple Images
-
wrote on May 27, 2019, 9:13 AM last edited byThis post is deleted!
-
Dear @Subliner
can you tell we which image you want to have the effect applied to and which piece of text you want to appear in it?Best!
Marius
-
wrote on May 30, 2019, 1:53 PM last edited by Subliner May 30, 2019, 9:55 AMThis post is deleted!
-
-
Dear @Subliner
can you tell we which image you want to have the effect applied to and which piece of text you want to appear in it?Best!
Marius
wrote on Jun 4, 2019, 1:58 PM last edited byThis post is deleted! -
Dear @mathias
but you added a caption for the image?
You need to add the caption by selecting an image and then click on edit caption.Best!
Marius
-
Dear @mathias
but you added a caption for the image?
You need to add the caption by selecting an image and then click on edit caption.Best!
Marius
wrote on Jun 6, 2019, 10:47 PM last edited byThis post is deleted! -
hey, you can do this with custom css!
.img img{ transition: all 300ms ease; } .img:hover img{ filter: brightness(0.9); } .img .caption{ opacity: 0; transition: opacity 300ms ease; } .img:hover .caption{ opacity: 1; }
Css is not so hard to do! There are little video courses about it like the one I recommend on khan university in the documentation section "custom css"
wrote on Jun 8, 2019, 4:09 PM last edited by Subliner Jun 11, 2019, 2:06 AM@arminunruh Hello!
Itยดs working for me, but it will be perfect if I can something like a "fade to white" .. Put white transparency when hover to see the black text better.
Thanks!
-
-
wrote on Jun 10, 2019, 11:06 AM last edited by Subliner Jun 11, 2019, 3:41 AMThis post is deleted!
-
wrote on Jun 11, 2019, 8:22 AM last edited by
@mariusjopen Itยดs done!
Thanks!
-
wrote on Jul 4, 2020, 10:27 PM last edited byThis post is deleted!
-
Dear @mathias
but you added a caption for the image?
You need to add the caption by selecting an image and then click on edit caption.Best!
Marius
wrote on Jul 4, 2020, 10:30 PM last edited byHi @mariusjopen
thank you so much for this, it is exactly what I was looking for. However I don't seem to be getting the captions to show. I don't have captions on every image yet, though the first couple of images on this page should be showing them โ> https://www.ritaferrando.com/walls Would be great if you could help me out!
Best,
Charlotte -
Dear @CharlotteG
I don't see any captions on your website :-/
Best!Marius
-
wrote on Jul 6, 2020, 3:36 PM last edited by
Hi @mariusjopen,
Thank you for your response.
I know. I can't quite figure out why that is because I definitely put captions in for a lot of the images. See screenshot below. Still they will not show.
This is the code I am using:
.img img{ transition: all 300ms ease; } .img:hover img{ filter: brightness(0.5); } .img .caption{ opacity: 0; transition: opacity 300ms ease; } .img:hover .caption{ opacity: 1; } .img .caption{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
Best,
Charlotte -
wrote on Jul 8, 2020, 3:53 PM last edited by
Hi @mariusjopen,
I figured it out. I wasn't aware that putting in a caption in the media library or inside the gridder does not translate to the page.
I would now like to do the same to images in a carousel. Is that possible?
Best,
Charlotte -
Dear @CharlotteG
it is not possible to use the captions from the media library.
You need to adfd them into each image in the carousel and under each image in the Gridder.
Best!
Marius -
wrote on Aug 17, 2020, 3:53 PM last edited by
@mariusjopen Hi Marius! How can I create an overlay color on mouse over. You said to use custom css, but I canโt find the right method to create an overlay color. Absolute code beginner...
-
Dear @Dominik-Gauly
Just to say hi, reply and let you know that i am looking into this :)
Thank you for using Lay Theme
Best Wishes
Richard -
wrote on Dec 23, 2024, 7:17 PM last edited by LouisS Dec 23, 2024, 2:23 PM
Hi,
I am wondering if the appearance of an image caption on top of an image when you hover over it is still possible. I have used the CSS code that is in the post here, but I don't see how this works with the new versions. I get a darker image when hovering, but no captions anymore. Can I add a lightbox caption and let that appear somehow?.slug-editions .img img{ transition: all 300ms ease; } .slug-editions .img:hover img{ filter: brightness(0.5); } .slug-editions .img .caption{ opacity: 0; transition: opacity 300ms ease; } .slug-editions .img:hover .caption{ opacity: 1; } .slug-editions .img .caption{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
I also code custom websites or custom Lay features.
๐ฟ Email me here: ๐ฟ
info@laytheme.com
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