C
C
codenaki2017-12-21 11:41:21
Less
codenaki, 2017-12-21 11:41:21

How to change variables for navigation bar in bootstrap?

Hello !
You need to change the default behavior for the navigation bar in bootstrap ..
I went to the framework in the Less section for variables, code example:

// Small screen / tablet
//** Deprecated `@screen-sm` as of v3.0.1
@screen-sm:                  906px;
@screen-sm-min:              @screen-sm;
//** Deprecated `@screen-tablet` as of v3.0.1
@screen-tablet:              @screen-sm-min;

I changed it to 906 because I need my Navbarr to collapse when it reaches 906 pixels ..
I don't see any changes since the default behavior remains at 768 pixels ..
Can anyone tell me how to correctly change the prescribed variables to achieve collapse at 906 pixels ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2017-12-21
@codenaki

look for the @grid-float-breakpoint variable in variables.less

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question