Navigation menu animation

Home Forums Porto – Responsive HTML5 Template Navigation menu animation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10004652
    djolens81
    Participant

    Hi,

    Is it possible to add some animation on hover over main menu items (fade, slide etc..)

    Thank you!


    #10004664
    Support
    Keymaster

    Hello, please add this:

    (css/custom.css)

    #header nav ul.nav-main > li > a {
        -webkit-transition: all ease .3s;
           -moz-transition: all ease .3s;
             -o-transition: all ease .3s;
                transition: all ease .3s;
    }
    
    #header nav ul.nav-main li.dropdown > ul.dropdown-menu {
    	top: -9999px;
    	left: -9999px;
    	display: block;
        -webkit-transition: opacity ease .3s;
           -moz-transition: opacity ease .3s;
             -o-transition: opacity ease .3s;
                transition: opacity ease .3s;
    	opacity: 0;
    }
    
    #header nav ul.nav-main li.dropdown:hover > ul.dropdown-menu {
    	top: auto;
    	left: auto;
    	opacity: 1;
    }

    Let me know if you have any questions.

    Thanks.


    #10004677
    djolens81
    Participant
    This reply has been marked as private.
    #10004686
    Support
    Keymaster

    Hello, unfortunately it’s not possible via CSS, I may be adding effect in the navigation in an upcoming release with some JS scripts.

    Thanks.


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

This topic is marked as "RESOLVED" and can not rceive new replies.