New Landing How can we help? Themeforest Theme Support Joyn Fixed titles for Masonry Portfolio on mobile devices only

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Joyn
  • #196519
    Nomulus
    Member
    Post count: 23

    Following from my discussion on the comments page:

    The hover effect is great on a masonry portfolio – that brings up the title.

    Although, is there an easy way to have the title always displayed but only when on a mobile device that doesn’t support hovering? (ideally without pushing the picture up).

    You mentioned you would be able to provide the CSS or an update for this. That would be awesome. Thanks

    #196562
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Not sure what you mean without seeing your link? Are you using the gallery type?

    – Kyle

    #202566
    Nomulus
    Member
    Post count: 23
    This reply has been marked as private.
    #202588
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    
    @media only screen and (max-width: 767px) {
    figure.animated-overlay figcaption{
    opacity:1 !important;
    }
    }
    

    Thanks
    Mohammad

    #204388
    Nomulus
    Member
    Post count: 23

    Thanks for the code, I tested it and unfortunately it didn’t change anything.

    #204410
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me specific page url to check.
    Thanks
    Mohammad

    #205616
    Nomulus
    Member
    Post count: 23
    This reply has been marked as private.
    #205983
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    I changed the previous css to the code below in your theme options.

    @media only screen and (max-width: 767px) {
        figure.animated-overlay figcaption {
        opacity:1 !important;
        }
        
        .standard-browser .thumbnail-gallery-alt-one figure.overlay-style .multi-masonry-img-wrap {
        -o-transform: translateY(-100px);
        -moz-transform: translateY(-100px);
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
       }
    }

    Hope it helps.

    -Rui

    #206020
    Nomulus
    Member
    Post count: 23

    Thanks you very much for that!

    The box is appearring but the text was still invisible so I changed:

    figure.animated-overlay figcaption {

    to

    figure.animated-overlay figcaption h4 {

    and it is working now.

    Thank you for your help.

    #206068
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, thanks Rui

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register