D
D
devlocal2019-01-24 16:57:12
Layout
devlocal, 2019-01-24 16:57:12

Bootstrap how to change padding?

How to change block padding on different screen sizes.
On sm and md you need to reduce the indents and increase on lg.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iDomanOff, 2019-01-25
@iDomanOff

as another option

$gutter: 
$grid-gutter-width

A
Amir Alimzhanov, 2019-02-05
@Amirez

Add to the .col-lg block, for example, your .col-lg--custom-gutter modifier class and write the necessary styles to it. Otherwise, if you change .col-lg and other bootstrap classes, then you will forget what was done and why.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question