Topic: Can't add a new grid breakpoint
Ayush Bajracharya asked 4 years ago
How can I add a new grid breakpoint? There are 5 breakpoints out of the box but I need one greater than xl. I have all the sass files on my local machine. Simply adding like this doesn't work.
$grid-breakpoints (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1500px, // Added
) !default;
Any help is appreciated.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: Dell
- Browser: Chrome/Firefox
- OS: Windows 1-
- Provided sample code: No
- Provided link: No
Grzegorz Bujański staff commented 4 years ago
Hi. This topic on stackoverflow should help you: https://stackoverflow.com/questions/48729310/how-to-add-custom-breakpoints-in-bootstrap4-and-how-to-use-responsive-breakpoint