Skip Navigation

[Resolved] Split: Content width changing with the number of results from the view

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

Last updated by Waqar 5 months ago.

Assisted by: Waqar.

Author
Posts
#2669243

I have another issue with the Properties Archive. I can open a new ticket if needed but since login info is in this thread I decided to start here.

hidden link uses Properties Archive.

The content is stretching to full width regardless of the theme settings I use. But, if there are no search results, it is boxed correctly (width 1140px; margin 0 auto). So it must be something with the Archive Output, which is a grid. But I cannot figure it out.

And, in trying to find a workaround, I discovered that assigning a class (in the Block's settings under Advanced) to any of the following blocks does not stick: WP Archive, WP Archive Search, WP Archive Output, Grid. In other words, I add a class and update the archive, but the class is never output on the page and the class has disappeared the next time I edit the archive.

I hope you can see why working with Blocks and Toolset is frustrating.

#2669329

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

On your website's clone, I added a class name to the settings of the block 'WordPress Archive' and it was applied correctly on the front-end.
( screenshot: hidden link )

Important note: After typing the class name, it is important to press enter so that the class is shown in a greyed box/pill.

As for the layout width changing, I added the following custom script in the archive's JS editor, which fixes this difference:
( screenshot: hidden link )


jQuery(document).ready(function( $ ) {
    $("body").removeClass("ast-page-builder-template");
});

regards,
Waqar

#2669415

Thank you, I was unaware that I needed to hit Enter to save the classes.
Your jquery works for me as well, thank you for this solution.

jesseH-3 confirmed that the issue was resolved on 2023-11-29 19:58:25.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.