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

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

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

nmillesonAnswer
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;
}

 

3 replies

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;
}

 

Translate
16-Pearl
February 23, 2021

Hi @nmilleson ,

 

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

Thanks

Translate
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

Translate