Skip to main content
16-Pearl
February 22, 2021
Solved

How to add Padding between Containers in responsive mashup (twx 9.1)

  • February 22, 2021
  • 1 reply
  • 1560 views

Hi ,

I am looking to add padding in between containers (responsive). Is it possible to maintain padding between containers? if yes how we can achieve this?

 

Thanks

Best answer by nmilleson

You can add padding with something like:

 

.myContainer .widget-content {
 padding-left: 60px !important;
}

 

or a margin with:

.myContainer .widget-content {
 margin: 60px !important;
}

 

1 reply

nmilleson17-PeridotAnswer
17-Peridot
February 22, 2021

You can add padding with something like:

 

.myContainer .widget-content {
 padding-left: 60px !important;
}

 

or a margin with:

.myContainer .widget-content {
 margin: 60px !important;
}

 

16-Pearl
February 23, 2021

Hi @nmilleson ,

 

Yes its working fine. can we be able to achieve this by using Style properties> Padding .?

Thanks

17-Peridot
February 23, 2021

@VaibhavShinde ,

 

I haven't tried it with Style properties.  I prefer using CSS when I can because I can bind the custom class and change the styling during runtime, whereas with Style properties I don't believe you can do that yet.

 

Thanks