Skip Navigation

[Resolved] Extra padding being added between elements

This support ticket is created 6 years, 6 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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Beda 6 years, 6 months ago.

Author
Posts
#903918
Extra Padding .jpeg

We created the custom post type 'Articles'. However, when we create posts there is extra space that is being added between elements that should not be there ( I have attached a screenshot below). This space does not appear with pages that are created with the themes post types. This extra spacing is appearing on each of the custom post types we have created.

Could you please advise who how we can remove this padding that is appearing?

#904236

It's difficult to tell what this is from here without an URL where I can see the problem.

But basically, this is an HTML and/or CSS problem.

Toolset helps you to create and display data, but the styling requires some more work.
It depends how you create your Content Templates, what style you add, what HTML you add, what style the Theme adds and more.

Our ShortCodes mostly as well feature a "raw"/"output" ShortCode attribute, which if is set will make sure to not output any HTML but just the value from the Database.
See for example the Email Field ShortCode:

[types field="my-email"][/types]

This will output the email + HTML, while this will output just the saved value from the database:

[types field="my-email" output="raw"][/types]

It might be that this is what you mean with the paddings, as sometimes, if you do not pass the raw output, ,the fields may add unexpected P tags or similar, which break lines.