Skip Navigation

[Resolved] Margin-Padding issue

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.24 hours from now. Thank you for your understanding.

This topic contains 2 replies, has 1 voice.

Last updated by AlexanderN4266 6 years, 11 months ago.

Author
Posts
#601077

Hi,
I'm currently trying to style the layout of fields I find proper and ran into some unexpected difficulties.
I can't control excessive white spacing around the fields inserted in the layout as Toolset shortcodes.
I am absolutely new to Bootstrap as well. But because Toolset Views use Bootstrap to render its content, I created layout using Bootstrap:
<div class="container-fluid">

<div class="row">
<div class="col-sm-12">Title</div>
</div>

<div class="row">
<div class="col-sm-4">Author</div>
<div class="col-sm-4">Publisher</div>
<div class="col-sm-4">Stock</div>
</div>

<div class="row">
<div class="col-sm-12">Description</div>
</div>

<div class="row">
<div class="col-sm-3">Price</div>
<div class="col-sm-3">Ad</div>
<div class="col-sm-3">Delivery</div>
<div class="col-sm-3">Sellers</div>
</div>

</div>

As shown above, there is no problem with spacing at all, But as soon as I substitute "Title" with Toolset shortcode for Title, unnecessary white space appears along with the content of the field. Please clue me in how I could resolve this issue.

#601081
Untitled.png

I suppose there is an issue with padding-bottom or something like this.

#601124

I managed to solve it.