Equal Padding

Posted in: Newspaper
Post count: 87

Hi,

When I add same values for padding to text (with background), I get very different spacing on top, bottom and left. I want equidistant padding on all sides. I will be sending you a mail with screenshots so that you can understand my problem quickly.

Regards,

Gaurav

Post count: 7909

Replied via email!

Post count: 87

Please find the link below:

http://traveltwirl.com/index.php/tagdiv-test/

Post count: 23312

Hello Gaurav,

Replied to the other topic.

Post count: 87

Hi, but this topic is different from other topic. My question here is different. When I add same values for padding to text (with background), I get very different spacing on top, bottom and left. I want equidistant padding on all sides. What PX values should I put to have equal padding?

Post count: 23312

Hello Gaurav,

Try the code below and place it in Theme panel->Custom CSS area.

.alignleft{
margin-left: 6px!important;
}
.page-template-default .wpb_text_column :last-child{
margin-bottom:6px!important;
}

The result is here -> https://www.screencast.com/t/hznNO0OLmQFe

Thanks for the message!

Post count: 87

Hi Catalin,

Super thanks for your mail. My last question is, isn’t there another way to do it by just entering PX values in the design options of the text block? Adding the above could would change everything universally, I just want to change for few blocks.

Thanks,

Gaurav

Post count: 23312

Hello Gaurav,

You can try doing this from Design Option. I have tested on my side and seems to work as expected, as you can see here -> https://www.screencast.com/t/zn3GTkcr -> https://www.screencast.com/t/MXoEaoO3Iw

Thanks for your understanding!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.