Skip to main content

"Scroll picture"

Comments

3 comments

  • Sandra Prunici

    Hi,

    Unfortunately, at the moment, for the Brizy Image element, we didn't add some hover effects options. Therefore, if you want to have a scroll effect as we added from the Brizy layout presentation (which is a custom effect), we can recommend adding some custom code. We would really like to help you with the right code but unfortunately here on Support, we can't provide some Custom Code and Custom Work.

    Thank you!

    Best regards,
    Sandra

    0
  • Valdas Jasas

    Hey, Sandra!

     

    So after few days and nightmares regarding "how to make it work" I've found a solution! :D 

     

    If anybody needs it, here you go - 

    Add an "Embed" element and adjust the values accordingly to your needs:

    <style>
    .screen {
    display: block;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin: 0 auto;
    }
    .screen img {
    bottom: -1450px;
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 0;
    margin:0;
    padding:0;
    -webkit-transition: top 11s;
    -moz-transition: top 11s;
    -ms-transition: top 11s;
    -o-transition: top 11s;
    transition: bottom 11s;
    }
    .screen:hover img {
    bottom: 0;
    -webkit-transition: all 11s;
    -moz-transition: all 11s;
    -ms-transition: all 11s;
    -o-transition: all 11s;
    transition: all 11s;
    }
    </style>
    <div class="container">
    <div class="row">
    <div class="col-md-4 col-md-offset-4 content">
    <div class="screen">
    <img src="YOUR LINK">
    </div>
    </div><!--content-->
    </div><!--row-->
    </div><!--container-->

     

    0
  • Sandra Prunici

    Hi,

    Wow, this is great! Thank you for sharing here the embed code you find to work and create the scroll effect. I suppose it will help other users that will need it.

    Thank you! It is a pleasure to meet people like you!

    Best regards,
    Sandra

    0

Please sign in to leave a comment.