Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm looking for a solution to change breakpoint for forcing sidebar to bottom of the page if width is <991 px.
I use ccs.
I have already changing the breakpoint for the nav bar with this :
@media (min-width: 768px) and (max-width: 991px) {
.navbar-collapse.collapse {
display: none !important;
}
.navbar-collapse.collapse.in {
display: block !important;
}
.navbar-header .collapse, .navbar-toggle {
display:block !important;
}
.navbar-header {
float:none;
}
}
thanks.
Comment | File | Size | Author |
---|---|---|---|
bootstrap.jpg | 43.08 KB | zorax |
Comments
Comment #2
zoraxit can be achieve by css with float.
Comment #3
saurabh.dhariwal CreditAttribution: saurabh.dhariwal at AddWeb Solution Pvt. Ltd. commentedYou can use 'col-sm-12 col-md-3' class for sidebar. So it directly goes down.
Otherwise you can also apply css for sidebar like:
Let me know if you face any query/concern regarding this.
Thanks!
Comment #4
markhalliwell