Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
Toggle nav
Hi,
I've made a onepage website using http://ironsummitmedia.github.io/startbootstrap-scrolling-nav/, but on mobile devices the menu doesn't toggle in Exponent. The scrolling nav index calls for a
. On the live preview it turns to
, but not in 2.3.1.
Any idea what's going on?
View article...
I've made a onepage website using http://ironsummitmedia.github.io/startbootstrap-scrolling-nav/, but on mobile devices the menu doesn't toggle in Exponent. The scrolling nav index calls for a
. On the live preview it turns to
, but not in 2.3.1.
Any idea what's going on?
View article...
Comments
I have a non-production one-page menu working, but it's all hard-coded and uses jquery.nav.js and jqueryScrollTo.js.
View article...
Forum deleted my html I see..
Mobile view get this:
div class="navbar-collapse navbar-ex1-collapse collapse in" aria-expanded="true" style="" (i've deleted the <>, hope that works)
Exponent keeps the
div class="collapse navbar-collapse navbar-ex1-collapse"
as in the index
I'm using the latest patch (4, if i'm correct) and i've hardcoded the menu in a subtheme
View article...
div class="navbar-collapse collapse in" id="navbar-ex1-collapse" aria-expanded="true" style=""
And this all assumes the 'button' you have defined earlier in the code has a data-target="navbar-ex1-collapse" along with the proper type="button" class="navbar-toggle" and data-toggle="collapse"
View article...
View article...
id="navbar-ex1-collapse" in the collapse-navbar element? If you do and it's not appearing the in the html output, you may be missing or mis-matching quotes around the 'id'? Again, it sounds as if the 'data-toggle' name in the button and the 'id' in the navbar are not the same (or are not enclosed in quotes properly)...in fact, if the rest of that element attributes are missing, it is likely an ending quote missing.
View article...
div class="container">
div class="navbar-header page-scroll">
button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
span class="sr-only">Toggle navigation/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
/button>
a class="navbar-brand page-scroll" href="#page-top">HOME/a>
/div>
div class="collapse navbar-collapse navbar-ex1-collapse">
ul class="nav navbar-nav">
View article...
div class="collapse navbar-collapse navbar-ex1-collapse">
must be changed to
div class="collapse navbar-collapse" id="navbar-ex1-collapse">
the 'id' seems to be merged into the 'class' therefore the collapse 'button' won't work since it's trying to collapse a menu with the ID (not class) of 'navbar-ex1-collapse'.
View article...
View article...
div class="collapse navbar-collapse navbar-ex1-collapse">
must be changed to
div class="collapse navbar-collapse" id="navbar-ex1-collapse">
the 'id' seems to be merged into the 'class' therefore the collapse 'button' won't work since it's trying to collapse a menu with the ID (not class) of 'navbar-ex1-collapse'.
nav class="navbar navbar-default navbar-fixed-top" role="navigation">
div class="container">
div class="navbar-header page-scroll">
button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
span class="sr-only">Toggle navigation/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
/button>
a class="navbar-brand page-scroll" href="#page-top">HOME/a>
/div>
div class="collapse navbar-collapse navbar-ex1-collapse">
ul class="nav navbar-nav">
id="navbar-ex1-collapse" in the collapse-navbar element? If you do and it's not appearing the in the html output, you may be missing or mis-matching quotes around the 'id'? Again, it sounds as if the 'data-toggle' name in the button and the 'id' in the navbar are not the same (or are not enclosed in quotes properly)...in fact, if the rest of that element attributes are missing, it is likely an ending quote missing.
div class="navbar-collapse collapse in" id="navbar-ex1-collapse" aria-expanded="true" style=""
And this all assumes the 'button' you have defined earlier in the code has a data-target="navbar-ex1-collapse" along with the proper type="button" class="navbar-toggle" and data-toggle="collapse"
Forum deleted my html I see..
Mobile view get this:
div class="navbar-collapse navbar-ex1-collapse collapse in" aria-expanded="true" style="" (i've deleted the <>, hope that works)
Exponent keeps the
div class="collapse navbar-collapse navbar-ex1-collapse"
as in the index
I'm using the latest patch (4, if i'm correct) and i've hardcoded the menu in a subtheme
I have a non-production one-page menu working, but it's all hard-coded and uses jquery.nav.js and jqueryScrollTo.js.
I've made a onepage website using http://ironsummitmedia.github.io/startbootstrap-scrolling-nav/, but on mobile devices the menu doesn't toggle in Exponent. The scrolling nav index calls for a
. On the live preview it turns to
, but not in 2.3.1.
Any idea what's going on?
div class="collapse navbar-collapse navbar-ex1-collapse">
must be changed to
div class="collapse navbar-collapse" id="navbar-ex1-collapse">
the 'id' seems to be merged into the 'class' therefore the collapse 'button' won't work since it's trying to collapse a menu with the ID (not class) of 'navbar-ex1-collapse'.
nav class="navbar navbar-default navbar-fixed-top" role="navigation">
div class="container">
div class="navbar-header page-scroll">
button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
span class="sr-only">Toggle navigation/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
/button>
a class="navbar-brand page-scroll" href="#page-top">HOME/a>
/div>
div class="collapse navbar-collapse navbar-ex1-collapse">
ul class="nav navbar-nav">
id="navbar-ex1-collapse" in the collapse-navbar element? If you do and it's not appearing the in the html output, you may be missing or mis-matching quotes around the 'id'? Again, it sounds as if the 'data-toggle' name in the button and the 'id' in the navbar are not the same (or are not enclosed in quotes properly)...in fact, if the rest of that element attributes are missing, it is likely an ending quote missing.
Forum deleted my html I see..
Mobile view get this:
div class="navbar-collapse navbar-ex1-collapse collapse in" aria-expanded="true" style="" (i've deleted the <>, hope that works)
Exponent keeps the
div class="collapse navbar-collapse navbar-ex1-collapse"
as in the index
I'm using the latest patch (4, if i'm correct) and i've hardcoded the menu in a subtheme
I have a non-production one-page menu working, but it's all hard-coded and uses jquery.nav.js and jqueryScrollTo.js.
I've made a onepage website using http://ironsummitmedia.github.io/startbootstrap-scrolling-nav/, but on mobile devices the menu doesn't toggle in Exponent. The scrolling nav index calls for a
. On the live preview it turns to
, but not in 2.3.1.
Any idea what's going on?
div class="collapse navbar-collapse navbar-ex1-collapse">
must be changed to
div class="collapse navbar-collapse" id="navbar-ex1-collapse">
the 'id' seems to be merged into the 'class' therefore the collapse 'button' won't work since it's trying to collapse a menu with the ID (not class) of 'navbar-ex1-collapse'.
nav class="navbar navbar-default navbar-fixed-top" role="navigation">
div class="container">
div class="navbar-header page-scroll">
button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
span class="sr-only">Toggle navigation/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
span class="icon-bar">/span>
/button>
a class="navbar-brand page-scroll" href="#page-top">HOME/a>
/div>
div class="collapse navbar-collapse navbar-ex1-collapse">
ul class="nav navbar-nav">
id="navbar-ex1-collapse" in the collapse-navbar element? If you do and it's not appearing the in the html output, you may be missing or mis-matching quotes around the 'id'? Again, it sounds as if the 'data-toggle' name in the button and the 'id' in the navbar are not the same (or are not enclosed in quotes properly)...in fact, if the rest of that element attributes are missing, it is likely an ending quote missing.