We have Archive Pages for a few of our 'post' categories...this is one for example: hidden link
This was easy to design and implement.
I just can't get my head round Toolset and doing something similar.
We have a ton of very useful Portfolio Categories, one being Location specific, these not shown on the site .
So I clicked the 'Archive for Portfolios in Toolset dash.
I copied over some of our styling and made the Archive look just like all our girds...great.
Here's one for example: hidden link
However, how on earth do I edit the page this is displayed on?
What is used to make this page and how do I add, say a dynamic page title and dynamic description just like we do for WP Archives?
I see Content Templates in Toolset, can't see what these do in relevance to the link I've supplied.
I can see how to change the layout as far as the grid is concerned, this all good however where to I edit the page this is displayed on where I can add some styling?
I'm assuming here that your wordpress archive is using the Gutenburg Block builder. If so then you should be able to use the add block button at the top of the editor to add the block that you wanted. Ideally you can try adding the single field block and use that to get your dynamic content data.
Yes, but where is this? Our Views use custom code and CSS to create the 'look' we wish.
If I click the 'archive for portfolios' in the main Toolset dash, this takes me to a View type screen where we have added Search and Pagination, Loop Editor etc.
I see a button at the top right, however if I click this a warning box pops up saying I'm going to reset everything.
The last thing I want is to try and recreate what we have in Blocks, this I am certain we can't do as we prefer to stick to code and Views.
So from your screenshot you are using the classic method for the archive.
In order to add the dynamic content specific to this archive you will need to add the correct shortcodes outside of the wpv-loop tag. You can use the fields and views button on the editor to add your Archive content.
One last thing I noticed...what is setting the width of the archive page? hidden link
I can see this:
.site-header, body:not([class*="elementor-page-"]) .site-main {
max-width: 960px;
}
Which suggests Elementor however the standard with is set to 1200px.
As I'm using the Classic method I have no access to any page settings. I do not wish to use Block...tried that and it will never achieve the results I have using code.
I just can't work out, if the theme is set to 1200px, why is the archive page set to 960px.
Thanks for the reply, well there's the issue and as mentioned above, there is no page. I have created the archive in Toolset so we have no access to any page. I have added this code to our site Additional CSS which will cover the whole site.~
Unless I can add this to the CSS in the actual Toolset Archive then this code may affect the whole site hence my question.
Yes you can add this to your custom archive. If you are using the gutenburg editor to build your custom archive then you can use the custom css section. See Screenshot
Ensure that in the block navigation you have selected WordPress Archive. See screenshot
Once this is selected you should see the block option for custom JS and CSS appearing.