Menu icon Foundation
Top padding on rows

I am getting no padding at the top of a row in FFE 2.1 sass version. Should there be a global padding on the top of rows? If not how can I add one?

Thanks

padding

I am getting no padding at the top of a row in FFE 2.1 sass version. Should there be a global padding on the top of rows? If not how can I add one?

Thanks

Rafi Benkual over 3 years ago

There is no padding on top of the rows. To create a more consistent layout and avoid fighting combined top and bottom padding from other elements, its a best practice you only use bottom padding or margin.

 

You can use the spacer component to make the spacing you need:

<spacer size="16"></spacer>

Or top padding (less consistent) 

.columns {
  padding-top: 30px;
}

Brendan Williams over 1 year ago

Hello, New here! Just want to share few writing tips for students here, Get 9 easy steps for creative writing which help the student in their academic project.