Skip Navigation

[Resolved] Different bootstrap columns size at the Toolset Layouts

This support ticket is created 5 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.

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 2 replies, has 2 voices.

Last updated by Serhii 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1176767

Hi, I am using the Toolset Layouts to build my online casino review page

Example - hidden link

I have the section "Platforms", where I check actual platforms for a current casino - hidden link

On the example of this section (Platforms), I will describe my issue.

Exists 6 columns - hidden link they all should be the same width, but in my case, the first and the last columns are bigger than others.

Screenshot front-end - hidden link
Screenshot back-end - hidden link

And I do not understand why. I tried to change page width, at this moment it is 1260px, I tried 1170px and the same result - first and last columns are bigger than others.

I tried to clean all CSS code - no result.

Please help detect and fix this issue.

#1176789

Hello,

Thanks for the details, those 6 columns are in same width (205 px each) actually.

But in Layouts CSS file
hidden link
line 67 will setup the first column as no left padding:

.ddl-full-width-row>[class*="col-"]:last-child {
    padding-right: 0;
}

Line 70 will setup the last column as no right padding:

.ddl-full-width-row>[class*="col-"]:last-child {
    padding-right: 0;
}

In your case, you can setup custom CSS codes to override them, for example, edit the layout
1) hidden link
Edit "Row 3", add a CSS class name "my-row",

2) Dashboard-> Toolset-> Редактор CSS и JS Layouts
hidden link
Add below CSS codes:

.my-row div.col-sm-2{
 padding: 5px;
}

Please test again, check if it is fixed, thanks

#1176801

My issue is resolved now. Thank you!