Adjust padding between widgets on a single page

jorish bonjon asked on December 23, 2020 21:47

On Kentico 10, is it possible to adjust the padding between where one widget (or widget zone) ends and the next begins? Basically, I want them to butt right up against each other so the text in widget B is closer to the bottom of the image above it in widget A. I hope that makes sense as I only 25% know WTF I’m talking about here. Thanks in advance!!

Recent Answers


Trevor Fayas answered on December 28, 2020 22:50

If you are looking to do this only in EditMode, then in EditMode kentico adds a "EditMode" class to the body tag, so you can add css prefixed with .EditMode to add styling

ex:

.EditMode .MyWidgetZone { padding: 20px; }

The rest is just up to css styling!

If this isn't for EditMode, i would just work with normal CSS to accomplish what you are looking to do.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.