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

    Hi, how can I make the masonry titles be smaller and more readable on mobile – https://www.screencast.com/t/LEoqSuTC – without changing them on desktop?

    #817149

    Hey!

    To make CSS work only for certain device widths, you can consult this page: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    For the masonry titles, you can use this CSS:

    @media only screen and (max-width: 1024px) {
       .av-image-caption-overlay-center {font-size:0.8em !important}   
    }

    You can decrease the value of the font-size to suit your preference. The default value is 1.3em.

    I hope that helps!

    Best regards,
    Sarah

    #817206

    Hi Sarah, it seems as that makes no change.

    #817306

    Hi,

    It looks like the element has changed since the last time I checked it. Sorry about that.
    Please try this code instead:

    @media only screen and (max-width: 1024px) {
       h3.av-masonry-entry-title.entry-title {font-size:20px !important}   
    }

    Best regards,
    Sarah

    #817314

    Great, that worked. Thanks!

    Another issue I noticed is this – https://www.screencast.com/t/HMdCsD1mwYJ – the text that is showing on top of the images on desktop is not showing on mobile. Why is that?

    #817399

    Great! :) You’re welcome.

    We’ll close this thread now, since you’ve opened another thread for that other issue.

    Best regards,
    Sarah

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to decrease font title size in masonry gallery on mobile’ is closed to new replies.