How to remove "Left Menu" from mobile view

Nov 22, 2013 at 4:48 AM
Hi all

How would I remove or hide the Left Menu dropdown altogether from the mobile view? I've removed the left navigation in the master page but can't figure out how to stop the dropdown appearing in mobile.

Thanks

Brett.
Coordinator
Nov 22, 2013 at 5:25 PM
Hi Brett,

It looks like you might have found a solution to your problem already at https://responsivesharepoint.codeplex.com/workitem/1559, is that correct or are you still seeking a solution?

Eric
Developer
Nov 22, 2013 at 7:05 PM
Edited Nov 22, 2013 at 7:07 PM
Hi Brett,

Assuming you are working with the Bootstrap 3 master page, you can add the "hidden-xs" class on the parent div of the left-navbar.
You should get something like this:

<div id="centerarea" class="container">
<div id="MainRow" class="row">
<div class="col-sm-3 col-lg-2 ms-dialogHidden hidden-xs">
<div class="navbar left-navbar navbar-inverse">
<div class="container">
<div class="navbar-header left-navbar">

Hope it helps,

Ugo
Nov 27, 2013 at 12:57 AM
Hi Ugo

Worked perfectly, thanks for that.

Brett.
Apr 13, 2016 at 11:36 PM
That works for me with the exception of the banded page layout. The left menu appears in desktop browser when I add hidden-xs to
<div id="sideNavBox" class="col-md-3 sidebar-nav ms-dialogHidden ms-forceWrap ms-noList">