Site logo

Archived topic

Hover Image Mobile Problem

5 replies · Started by Kilian on January 21, 2019

Viewing posts 1–6 of 6

Good morning,
My pictures shown in the "home"page and in the "gallery"page, have a hover effect on the desktop view.
Nevertheless, on tablets and mobile devises, I cannot see the title of the pictures, since they don’t have mouse.
Is there somehow I can force tablets and mobile devises to double tap (one tap to see the title and another tap to enter the custom URL) or any other similar solution?
The gallery is made with Foogallery free version.
Thanks in advance!

Hi there,

this would take some custom javascript something that is out of our scope and probably best asked of the plugin author. If not stackoverflow would be the place to ask about hover: to double tap on mobile devices.

Alternatively, it would be simple enough to use some CSS to unhide and move the caption for mobile devices. Let me know

Hi David, I would appreciate if you could tell me what CSS could I use and where should I place them?

Inside Foogallery, if I go to edit the gallery, there is a Custom CSS window in the bottom part. Is that the right place to add the CSS?

Thanks in advance!

Maybe something like this:

@media (max-width: 768px) {
    .foogallery .fg-caption {
        visibility: visible !important;
        opacity: 1 !important;
        height: 2.5em;
        position: absolute;
        bottom: 0;
        top: auto !important;
    }
}

Hi David! It solved the problem good enough!:) Thanks a lot!

Glad to be of help

This archived topic is closed to new replies.