The CreatorCon Call for Content is officially open! Get started here.

how to add space between container and widget?

Fdeveloper
Kilo Guru

Hi ,I want to add space between container and widget , i try it to add this

.My height{
height: 550px;
}

in page specific css but still don't working,

Thank you

 

find_real_file.png

1 ACCEPTED SOLUTION

AMIT SHISHODIA2
Giga Guru

Use Margin property in %,px and rem 
it will help you

Ex: margin:200px;

Please mark Correct and helpful on the basis of impact

View solution in original post

2 REPLIES 2

AMIT SHISHODIA2
Giga Guru

Use Margin property in %,px and rem 
it will help you

Ex: margin:200px;

Please mark Correct and helpful on the basis of impact

Rishabh Jha
Mega Guru

Hi @Fdeveloper ,

 

You'd need to use the "margin" property in the css to give spaces around the object.

Assuming that you have added the "my-height" class to the widget's parent HTML div, you can use

.my-height {
  margin: 15px !important;
}

 

Thanks & Regards,

Rishabh Jha

Aavenir (http://www.aavenir.com/)