Okay
  Public Ticket #2290231
page transition
Closed

Comments

  • TraitStudio started the conversation

    how do I get the page transition "horizontal swipe" to be "vertical swipe"

    Is there js file that can be leveraged? Can't find the string of code for the ajax 

  •  8,992
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    @-webkit-keyframes nectar-anim-effect-2-1 {
        0%,14.5% {
            -ms-transform: translateY(0 );
            -webkit-transform: translate3d(0,0,0) ;
            transform: translate3d(0,0,0)
        }
        34.5%, 100% {
            -ms-transform: translateY(-100%) ;
            -webkit-transform: translate3d(-100%,0,0) ;
            transform: translate3d(-100%,0,0) ;
            -webkit-animation-timing-function: cubic-bezier(0.67,0,0.3,1);
            animation-timing-function: cubic-bezier(0.67,0,0.3,1)
        }
    }
    @keyframes nectar-anim-effect-2-1 {
        0%,14.5% {
            -ms-transform: translate3d(0,0,0);
            -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0)
        }
        34.5%, 100% {
            -ms-transform: translate3d(0,-100%,0) ;
            -webkit-transform: translate3d(0,-100%,0) ;
            transform: translate3d(0,-100%,0) ;
            -webkit-animation-timing-function: cubic-bezier(0.67,0,0.3,1);
            animation-timing-function: cubic-bezier(0.67,0,0.3,1)
        }
    }

    Thanks


    ThemeNectar Support Team