How to define Section position

0

Personally I have a web page in bootstrap with 4 sections that if you use the buttons on the nav bar changes between sections, but when I click the button it does not get centralized it eats a little of the next section would have some trick in css or js to stay centered when you click the

    
asked by anonymous 21.09.2017 / 19:02

1 answer

0

The ideal is to show the code so that we can define it, but create a class for this section and define:

position: relative;
left: -10 !important; //ou seja, a distancia necessária para não "comer" a outra section

Use! important to override any other styles already in the section

    
22.09.2017 / 02:20