Skip Navigation

[Gelöst] Layouts adds extra row and col-sm-12 messing up layout

This support ticket is created vor 7 Jahre, 7 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 Antworten, has 2 Stimmen.

Last updated by chrisH-10 vor 7 Jahre, 7 Monate.

Assisted by: Minesh.

Author
Artikel
#430510
macyspress-extra-padding.png
macyspress-extra-padding-layout.png

I've created a 9/3 column layout using Layouts (screenshot).

I expect to get frontend markup that is approximately

<div class="row">...
  <div class="col-sm-9">...</div>
  <div class="col-sm-3">...</div>
</div>

Instead I get an extra wrapper of a row and col-12 as shown in the screenshot.

I'm pretty sure this is a regressing in one of the latest 1.8.x.

#430515

I went back to Layouts 1.7 where there is no issue. Digging around I found that Layouts 1.7 generates class="row" whereas Layouts 1.8.x generates class="row-fluid" which distorts the layout as I indicated.

I was able to add the class "row" which gives me this goofy output on the front end.

<div class="col-sm-9">                
  <div class="row-fluid row">
    <div class="col-sm-12">

But that extra class of "row" wins and my layout renders as intended.

I would consider your new behavior to be a bug because it creates front end code that the user didn't intend. Worse, this issue is created by an update to Layouts which messes up existing sites (script did not update my existing layouts to accommodate for changes in generated markup).

Since I have a workaround for my immediate issue I consider this ticket resolved. Please comment on whether you consider this to be a bug and plans before closing.

#430633

Minesh
Supporter

Languages: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

Are you using Toolset layouts version 1.8.2? if so, we just released new version of layouts 1.8.3. Could you please update your layouts plugin to its latest official released version and try to resolve your issue.
=> https://toolset.com/2016/08/layouts-1-8-3-fixes-rendering-issues-introduced-1-8-version/

Please kindly report back if your issue still persists.

#430797

Looks like you reverted back to "row" in 1.8.3. Things are back to normal. Thanks!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.