I’m trying to add shortcode to archive-product.php so that I can style the top of the category pages on a woocommerce store.
I’ve finally managed to make the code work, and it’s now displaying the header image and the sub menu, but it’s changed the background colour of the page, and knocked at the alignment of the items. What have I done wrong in the code?!
Is there an easier way to style the category pages?
Thanks!!
Link to a category page for reference.
The background should be white, like the other pages, not blue. There is also no padding to the side of the category item?
Little bump – I know everyone’s busy and it’s a weekend, but any help, very appreciated!
Ok. I’ve solved this, I think. So for anyone else looking to do the same…
Create new pages for your categories and customise them in the usual way. Make sure you then add the product list from the plugin options in the advanced layout builder. Link to these new pages in your menus.
For the shop itself, I used the advice here: https://kriesi.at/documentation/enfold/woocommerce-shop/ which meant I could use the advanced layout builder, and so far, it seems to be working.
