MisterM
MisterM

Reputation: 175

jQuery Offcanvas menu from the right

I am trying to get the jasny-bootstap offcanvas menu to appear from the right instead of the default left. I have changed the position to left using .navmenu-fixed-right instead of navmenu-fixed-left and I have even tried changing placement in the javascript file.

It comes in from the right, but not sliding like it should.

original(left): http://jasny.github.io/bootstrap/examples/navmenu-push/

from the right(kinda): http://jsfiddle.net/821ubfq3/

<div class="navmenu navmenu-default navmenu-fixed-right offcanvas">

Any idea on how to fix the slide-in from the right?

Upvotes: 3

Views: 923

Answers (1)

Wessah
Wessah

Reputation: 101

Encountered this problem as well, the following CSS lines fixed it for me.

.navmenu-fixed-right {left: auto !important;}
body.canvas-sliding, body.canvas-slid {left: auto !important;}

Upvotes: 2

Related Questions