Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #895224

    Hi there!

    which code do I have to add to the Quick CSS if I want te hide the grey overlay but display the caption om mobile devices?
    If I use:
    @media only screen and (max-width: 767px) {
    .av-inner-masonry-content.site-background {
    opacity: 0 !important;
    }
    }

    Nothing is displayed and I want only the caption (title) to be displayed.

    Thanks for your help!
    regards, Hugo

    #895520

    Hi Hugo,

    Could you post a link to where we can inspect the element in question on your site please?

    Best regards,
    Rikard

    #895708

    Hi Rikard,

    I’ve removed the addition to the Quick CSS

    thanks in advanced: https://publiekeversnellers.nl/

    Regards,
    Hugo

    #895967

    Hi,
    Try this code in the General Styling > Quick CSS field:

    @media only screen and (max-width: 767px) { 
    #top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
        background: rgba(0,0,0,0)!important; 
    }
    }

    Best regards,
    Mike

    #896059

    Thanks Mike! That works just fine!

    Another question. If I don’t want to show the caption/title from an specific masonry item on mobile. What code should I add to the Quick CSS?

    Example: I’ve already added this code to not link an item in the masonry to a single portfolio item with this code:
    .av-masonry-container a.post-658 {
    pointer-events: none;
    }

    Thanks in advance!

    #896068

    Hi,
    Please try:

    .post-456 .av-inner-masonry-content-pos-content {display:none!important;}

    Best regards,
    Mike

    #896100

    Hi Mike,

    do you want me to add this inside code?:

    @media only screen and (max-width: 767px) {
    #top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
    background: rgba(0,0,0,0)!important;
    }
    }

    #896132

    Hi,
    Sorry, I see you wanted this to hide the title only on a mobile, so I should have added the media query:

    @media only screen and (max-width: 767px) { 
    .post-456 .av-inner-masonry-content-pos-content {display:none!important;}
    }

    You could add it to the other one if you wish.

    Best regards,
    Mike

    #896227

    Thanks! Works just fine :-)

    #896233

    Hi,
    Glad we could help, we will close this now. Thanks for using Enfold.

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Hide overlay but display caption in masonry on mobile’ is closed to new replies.