Skip to content

Change sidebar offcanvas breakpoints #207

Answered by justinkruit
KatyPurry asked this question in Q&A
Discussion options

You must be logged in to vote

You should change d-md-none to d-lg-none on this line:

<button class="btn btn-outline-primary w-100 mb-4 d-flex d-md-none justify-content-between align-items-center" type="button" data-bs-toggle="offcanvas" data-bs-target="#sidebar" aria-controls="sidebar">

That is what controls the visibility of the button. 😄
And welcome to Bootstrap and Sass!

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by KatyPurry
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #206 on August 11, 2022 09:50.