Thanks in advance for reading.
Using CDN, I am incorporating the following APIs / libraries into my project:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/css/jasny-bootstrap.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/js/jasny-bootstrap.min.js"></script>
<link rel="stylesheet/less" type="less" href="custom/main.less"/>
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/1.7.4/less.min.js"></script>
I am also importing jquery
and less
but not using CDN to do so.
The less
files I was using before I added Jasny Bootstrap (above) worked fine; my main.less file imports all of the less
variables and mixins from Bootstrap before importing the Jasny set. Main.less
looks like this:
@import "less/bootstrap.less";
@import "jasny-variables.less";
@navmenu-width: 225px;
And when I implement the 'Off Canvas' component from Jasny Bootstrap, that also works fine; an off canvas menu appears and pushes all content to the right.
When I try to change some of the Jasny less
variables however (either by adding them to my main.less
file [as I've done above], or altering them directly in the jasny-variables.less
file [which main.less
imports from the same directory]), I'm not seeing any results.
Specifically I am trying to change the value of @navmenu-width
to be less than the default. Regardless of what value I give it however, in either source, it won't change.
Suggestions?