Skip Navigation

[Resolved] Problem with padding on post type page

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 6 replies, has 3 voices.

Last updated by Waqar 1 year, 7 months ago.

Assisted by: Waqar.

Author
Posts
#2587495

Hi there,

as you can see, i don't have the same padding on post type and page type, and i can not manage.

Cold you help me ? hidden link

#2587895
Container-block.JPG

Hello,

I assume we are talking about a Toolset container block, you can follow our document to style it, and setup the padding styles:
https://toolset.com/course-lesson/container-blocks/

See my screenshot: container-block.jpg

#2588059

Hi there,

no, i don't have container on the page. As you can see here : hidden link

I don't have any container and there is a big padding with the div "wp-block-toolset-blocks-container tb-container"

#2588587

It is hard to locate the problem from your video, please share the live problem page URL, I need to test and debug it in my Chrome browser.

#2588725

Ok, in this kind of page (post) hidden link

On mobile, we have padding on container that we can not update or remove

#2591365

Hi there, can you help me ?

#2592893

Hi,

Luo is on vacation, so I'll be following up on this ticket.

As a quick fix, you can use the following custom CSS code to target the padding of only that particular div container, on mobile screens:


@media only screen and (max-width: 599px) {
#main .entry-content > .wp-block-toolset-blocks-container > .wp-block-toolset-blocks-container {
    padding: 5px 5px 5px 5px;
}
}

Since I don't have access to the website's admin area, it would be difficult to suggest the exact source of that padding.

Can you please check the content template assigned to this post type, and look for any 'Container' block? If you find one, you can see the block's settings to see if the '25px' padding is coming from there.

I hope this helps and please let me know if you need further assistance.

regards,
Waqar