Home › Forums › Support › Woocommerce product archive not working with new flexbox This topic has 45 replies, 4 voices, and was last updated 3 years, 5 months ago by Tom. Viewing 15 posts - 31 through 45 (of 46 total) ← 1 2 3 4 → Author Posts October 7, 2020 at 12:24 pm #1477268 TomLead Developer Lead Developer Yes, exactly. If it’s removed from the template and nothing displays, you can add it as an Element and it shouldn’t show up twice. October 7, 2020 at 12:25 pm #1477273 moderndev Thats done and there is no title or description now. I did this by removing the wooarchive block from the child template. I have not added any hook elements. Whats next? October 7, 2020 at 12:29 pm #1477278 moderndev Ok I added it back using the hook element, but its in the wrong position. Its not full width and above the side bar? https://moderncooking.com/en/product-category/kitchen-knives/?purge_success=1&cache_type=all October 7, 2020 at 12:31 pm #1477286 moderndev I changed it from generate_before_main_content to inside_site_container is that ok? October 7, 2020 at 12:32 pm #1477289 TomLead Developer Lead Developer Yes, that should work perfectly 🙂 October 7, 2020 at 12:36 pm #1477297 moderndev sorry I meant generate_inside_container October 7, 2020 at 12:36 pm #1477302 TomLead Developer Lead Developer generate_inside_site_container will work – generate_inside_container will have flexbox issues. October 7, 2020 at 12:36 pm #1477303 moderndev Ok so this is looking correct. So, now you think the flexbox setting will work? October 7, 2020 at 12:39 pm #1477308 moderndev I just tried and nothing has changed. I am not sure what we have achieved here. I still have a child template, but now I have a hook element as well and in the end I am in the same position. flexbox doesnt work on those pages??? October 7, 2020 at 12:40 pm #1477309 moderndev Sorry just seeing you comment above October 7, 2020 at 12:42 pm #1477315 moderndev Ok now we are looking good. Everything seems to be working well. Do you another way to remove the head so I can get rid of the child template? October 7, 2020 at 2:28 pm #1477447 TomLead Developer Lead Developer You mean remove the archive header that comes with WooCommerce? If you re-name the child template, does it come back? October 7, 2020 at 11:28 pm #1477825 moderndev Yes, because the only reason that it is not displaying is because I have removed it in the child theme October 8, 2020 at 9:21 am #1478835 TomLead Developer Lead Developer That’s what the options in Customize > Layout > WooCommerce should do. However, looking at the template, there’s no way to remove the wrapper around the title and archive: https://github.com/woocommerce/woocommerce/blob/master/templates/archive-product.php#L32-L46 October 8, 2020 at 9:53 am #1478892 moderndev Ok thanks Tom. Maybe I will play around with the styling and see if I can remove the wrapper Author Posts Viewing 15 posts - 31 through 45 (of 46 total) ← 1 2 3 4 → You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In