New Landing How can we help? Atelier Gallery Alt Thumbnail styling

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Atelier
  • #178588
    sandraeddy04
    Member
    Post count: 47

    I wanted to change the height of the caption box from 100px to 50px…I figured that part out but I also need the vertical translate of the image on hover to change correspondingly so I don’t get a gap between the caption box and the image. Can you let me know what CSS I can add to address that? Thanks so much!

    #178611
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Which caption box are you referring to? can you provide a link?

    – Kyle

    #178612
    sandraeddy04
    Member
    Post count: 47
    This reply has been marked as private.
    #178617
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .thumbnail-gallery-alt-one figure.overlay-style figcaption {
      height: 50px;
    }
    .thumbnail-gallery-alt-one figure.overlay-style:hover img {
      transform: translateY(-50px);
    }

    – Kyle

    #178620
    sandraeddy04
    Member
    Post count: 47

    works perfectly, thank you!

    #178623
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #180046
    sandraeddy04
    Member
    Post count: 47

    Hey Kyle! That code is working for the image banner, but not on the page with the multi-size masonry widget:
    http://www.discoverqantas.com/?page_id=8

    Could you let me know what CSS I can add to change the transform height there? Thanks!

    #180101
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Instead of my previous css try this:

    figure.overlay-style figcaption {
      height: 50px;
    }
    figure.overlay-style:hover img {
      transform: translateY(-50px);
    }

    – Kyle

Viewing 8 posts - 1 through 8 (of 8 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