Home Forums WoodMart support forum Mobile menu – slide from right

Mobile menu – slide from right

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #178228

    gorbunov1989
    Participant

    Hello! How can i make it? I found css class “slide-from-left” how can i change to open mobile menu from right side only on PC version?
    Thanks a lot!

    #178337

    Hello,

    To make the mobile menu to slide from right side only on desktop then you need to add the following Custom CSS code in the Custom CSS for desktop area under Theme Settings >> Custom CSS.

    .mobile-nav {
    	left: auto;
    	right: 0;
    	transform:translate3d(380px, 0, 0);
    	-webkit-transform:translate3d(380px, 0, 0);
    	-ms-transform:translate3d(380px, 0, 0);
      	-sand-transform:translate3d(380px, 0, 0);
    
    }
    
    .act-mobile-menu .mobile-nav {
    	transform:translate3d(0, 0, 0);
    	-webkit-transform:translate3d(0, 0, 0);
    	-ms-transform:translate3d(0, 0, 0);
    	-sand-transform:translate3d(0, 0, 0);
    }

    Best Regards.

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