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.
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
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.