A
A
Alex_872020-08-17 16:20:35
Bootstrap
Alex_87, 2020-08-17 16:20:35

How to set your own breakpoints in bootstrap 4?

Good afternoon! Can you please tell me how to make the horizontal menu in bootstrap collapse earlier? The fact is that even the earliest breakpoint that is there is not suitable for me - "navbar-expand-xl"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2020-08-17
@iiiBird

1) the easiest way is to redefine the variables in _variables.scss that are $grid-breakpoints
2) the harder way is to write the collapse yourself. there are not many styles that change that cause the navbar to collapse
3) do not use the bootstrap clumsy navbar at all and write your own in 5 minutes, which will be better

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question