Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #596793

    Hi guys,

    Has the class changed recently for the Gallery Captions? Because I’m trying desperately to hide the thumb nail captions on mobile phones, because when the user clicks a thumb nail, the pop up caption is left covering the lightbox image.

    I’ve seen many posts and solutions about this issue, but none of them are working on my site.

    For now I’m just trying to hide them in general (not only for Mobile) for testing purposes. I’ve tried the following code, both in my child theme style sheet and the quick CSS theme editor and nothing hides the caption boxes:

    .avia-gallery-caption (
        display: none !Important;
    }
    
    .avia-tooltip.avia-tt {
            display: none !important;
        }

    What am I doing wrong?

    You can test the gallery on the home page here:

    http://www.mvn.name/

    Here’s a screenshot of the issue:

    Screenshot showing captions

    Thank you.

    #597241

    Hey inMotionGraphics!

    Thanks for reaching out to us!

    I visited the link you provided and did not see the gallery captions being displayed on mobile nor on desktop views. If you want the gallery captions to only be hidden on mobile devices, try media query CSS. So the code you used, should look something like this:

    @media only screen and (max-width: 764px) {
    .avia-gallery-caption (
        display: none !important;
    }
    
    .avia-tooltip.avia-tt {
            display: none !important;
        }
    }

    Best regards,
    Jordan

    #597319

    Hi Jordan,

    Thanks for getting back to me.

    I don’t understand though how the captions aren’t visible on your end. The screenshot I took above was taken just before I posted my question above, and I haven’t made any changes since. I still see the captions on both mobile and desktop, and I’ve had other people test the site as well, and they also see the captions.

    Just so we’re on the same page here, the captions I’m referring to are the black caption bubbles that pop up above the thumbnails when you hover your mouse over a thumbnail on a desktop or laptop, or when you click on a thumbnail on a mobile phone (see screenshot).

    Also, I know how to hide them on mobile only using media queries, but for now I want to see it working successfully across all devices before I move the code to the appropriate media queries only.

    So the big question is, why can’t you see the captions on your end, when I still see them on my end? I’ve disabled the cache plugin, checked that my browser is pulling the updated style sheet, tested it in Chrome, Opera and on my Android phone, and clicked CTRL F5 for good measure.

    Here’s what I see on my desktop screen when I hover over the thumbnails. The black caption box should not be showing….

    Captons Screenshot

    Thank you.

    #599424

    Hi!

    Thank you for the info. Please add this in the Quick CSS field:

    @media only screen and (max-width: 989px) {
    .avia-tooltip.avia-tt {
        display: none !important;
        visibility: hidden !important;
    }
    }

    Best regards,
    Ismael

    #610480

    Thanks for your reply Ismael, and sorry for my delayed response.

    I just wanted to let you know (and anyone else reading this) that I found my mistake. I had one of the curly brackets the wrong way round, so it caused my code to stop processing at that point. This is the reason why nothing I tried worked. So all of the above solutions would have worked, but couldn’t due to my typo.

    I appreciate your help though.

    Thank you.

    #610520

    Hey!

    Glad you found out the syntax error please let us know if you need any further help.

    Best regards,
    Vinay

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.