Skip Navigation

[Resolved] Whitespace around Toolset rows

This thread is resolved. Here is a description of the problem and solution.

Problem:

My page shows white space below the tabs clearly indicating the issue with container-fluid.

Solution:

It is a custom CSS codes problem, see details here:
https://toolset.com/forums/topic/whitespace-around-toolset-rows/#post-1443661

Relevant Documentation:

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

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/Hong_Kong (GMT+08:00)

This topic contains 10 replies, has 3 voices.

Last updated by AlexanderN4266 4 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1434651

Hi, when I insert rows using Toolset template designer there is a lot of whitespace on four sides of the block.
I tried to add a custom ID and then some CSS to Toolset Layout CSS and JS
/*Layouts css goes here*/
#revslider-single-book {
margin: 0;
padding: 0;
}

But it didn't make a single change on front-end.

#1435237

Hello,

It seems to be a CSS problem, please share the live problem URL, I need to test it in my Chrome browser, thanks

#1435933

The problem page: hidden link
And I could send you over the whole style.css file, if necessary.

#1437837

Hi, could you have a look at the problem, please?

#1437975

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Luo is on holiday today. He will get in touch with you as soon as he will get back to work.

#1439057
revslider-single-book.JPG

Sorry for the delay answer, I have checked the URL you mentioned above, but can not see any HTML element is using ID "revslider-single-book", see screenshot revslider-single-book.JPG

Where and how do I see the the problem you mentioned above: whitespace on four sides of the block?

Please take a screenshot for it, thanks

#1443243
Screenshot 2020-01-06 23.50.19.png
Screenshot 2020-01-06 23.49.14.png

Hi, sorry for misunderstanding. I was trying to figure it ot these days.
I am talking about white space which is most likely caused by Bootstrap's container-fluid. Bootstrap includes padding-bottom of about 15 to 30px.
image 19.png shows white space below the tabs clearly indicating the issue with container-fluid.
In case with image 14.png, container-fluid goes along with no-padding insert (and I don't now how to modify Bootsrap code within Toolset editor at all!!! - so I actually don't know how it got there and corrected the problem, partly though), the rest of the problem is with the white space on the left of the slider.

Additionally, the same plugin shortcode is used in the footer, as shown on the main page hidden link where there is no whitespace, as needed, and naturally I was not using Bootstrap there. Though, I may be wrong.
I hope I managed to get it as clear as possible this time. Please take a look. Thanks.

#1443661
margin1.JPG

Thanks for the details:
Q1) image 19.png
The extra margin CSS codes are from your CSS file
hidden link

.su-tabs {
    margin: 0 0 1.5em;
...
}

Disable it can fix the problem, see screenshot margin1.JPG

Q2) container-fluid goes along with no-padding insert (and I don't now how to modify Bootsrap code within Toolset editor at all
Please check Q1, the margin/padding styles are from your theme files, you might consider remove them or setup CSS codes to override them, you don't need to modify(hack) Bootstrap codes.
For example:

.su-tabs {
    margin: 0 !important;
}
#1444585
#2.png
#1.png

Hi, the issue with the tabs display was just as you mentioned. Thank you very much.
As for the whitespace on the left of the footer image, the problem stays the same.

Version 1:
The situation with CSS insert modifing the Bootstrap row (the way you mentioned is NOT right to do) - the image is #1
/*Layouts css goes here*/
/*gets the whitespace off the Bootstrap fluid container, esp on its sides*/
div.container-fluid {
padding: 0;
margin 0;
}
The situation when I deleted the above CSS, just adds more whitespace on the sides - Image #2

THE HOMEPAGE
The situation with the image is a little tricky.
I use Slider Revolution plugin to build the footer. On the homepage it is displayed properly. To build homepage, I used Elementor builder to create 4 columns -- for my single footer image consists of four one-image Revolution sliders inserted in four Elementor colums. It is displayed fine there, as on any other page build with Elementor. That's all with it.
THE PROBLEM PAGE
The situation with this one is that I use the very same four Revolution slider images but now inserted in in four Bootstrap columns created with help of Toolset editor, and it gave this final whitespace on the left. I don't quite find the solution, most of what I change in css just breaks my previous work and not correcting this issue at all.
Could you give me a hand?

#1445513
left.JPG

I have tried both URLs you metnioned above:
hidden link
hidden link
But don't see any left padding/margin as your screenshot.

See my screenshot left.JPG

Is this problem resolved? if there is something missing, please provide detail steps to see the problem as you mentioned above:
whitespace on the left of the footer image

#1446789

My issue is resolved now. Thank you!