Answer the question
In order to leave comments, you need to log in
Bootstrap3: How to prevent duplicate site header?
For example, my site header is not monochromatic, but with an image or just a gradient, since bootstrap divides the header into blocks in its grid when the scale changes, it turns out that when the browser window is reduced, it naturally breaks into blocks, and the picture is duplicated, but it is necessary that when the window size is reduced, the cap remains as it is. Is it possible to implement this?
Answer the question
In order to leave comments, you need to log in
Do not use a standard grid, but make your own block for the header, for example, setting the width and height as a percentage.
Or if you want to use a standard grid, then for each standard viewport width
@media (max-width: @screen-xs-max) { ... }
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... }
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) { ... }
@media (min-width: @screen-lg-min) { ... }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question