Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1060988

    Hi,

    I’m basically looking to find a tweak for the solution from this forum:
    https://kriesi.at/support/topic/hide-masonry-gallery-captionon-mobile-devices/

    So the above solution works perfectly at removing the caption completely from masonry gallery elements on mobile. However, I would like the caption title still to be visible. i.e. I want to disable only the caption excerpt, not the entire caption completely.

    The code from the solution above is this:

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

    Can anyone suggest a tweak to this code that still leaves the caption title as visible?

    Thx!

    #1061771

    Hey sheilaregan,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 767px) {
      .av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content {
        display: none;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1065414

    Hi Viktoria,

    It worked perfectly. Thanks so much!

    You can now mark this topic as resolved.

    #1065544

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold masonry gallery – disable caption excerpt (mobile phone only)’ is closed to new replies.