Skip Navigation

[Resolved] Create overlay on image hover with custom data fields

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+00:00)

This topic contains 5 replies, has 2 voices.

Last updated by Marcel 3 years, 11 months ago.

Assisted by: Jamal.

Author
Posts
#1633317

I'm trying to create an overlay with custom data fields on hover on this page (which is a template): hidden link.

I actually got most of it to work already, but I can't get the hover state to be on the data block instead of the image. So when I use Chrome inspector to set the state of the block containing the date to hover, it works as intended, but when I just hover on the page, it doesn't. That's probably because the hover state is set on the image, not on the data block.

I've made a screencapture to show the problem: hidden link

#1633739

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Hello and thank you for contacting the Toolset support.

I tried to investigate this on your website using the devtools, but I might need access to your backend the check the view closer. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

#1633775

Sure, no problem. You can login with the following credentials:

hidden link

EDITED - it wasn't so private after all... visiting this topic in an incognito window, only the link was hidden. The rest of the info was visible so I deleted it..

#1633787

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

My apologies, maybe I forget it. If it happens again, it is probably an issue I should report to our system team.
Now, I made sure it is now private.

#1634451

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Thank you for the access and my apologies for the late reply.

I did not touch your view to let you decide how to implement the on-hover effect. From what I understand, you want to display only the image. And on hover, hide the image and display the texts behind it, right?
Please check my test content template on this test post: hidden link
Check the custom CSS and the CSS class used inside the template: hidden link

I hope this helps. Let me know your feedback.

#1634463

Hi Jamal,

Thanks to your test template, I got it to work 🙂 I didn't think of setting the image as a background. Thanks for the great support (as always with Toolset)!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.