- This topic has 45 replies, 4 voices, and was last updated 5 years, 7 months ago by
Tom.
-
AuthorPosts
-
October 6, 2020 at 12:22 pm #1475158
moderndev
Hey,
Just installed the new updated version 3.
Tried out the flexbox and it works on almost all my sites pages, but not the woocommerce archive pages.
Is this a known issue or is it more likely an issue directly related to my site?
October 6, 2020 at 2:23 pm #1475323Leo
StaffCustomer SupportHi there,
Sorry is there a specific page/section I should be looking at?
Let me know 🙂
October 6, 2020 at 10:11 pm #1475729moderndev
I have switched off the flexbox as this is a live site.
The issue only effects the woocommerce archive pages like the one linked below.
https://moderncooking.com/en/product-category/kitchen-knives/
October 7, 2020 at 12:21 am #1475880Tom
Lead DeveloperLead DeveloperHi there,
Any chance you can show us a screenshot of the issue? Or possibly reproduce it on a staging site?
Let us know 🙂
October 7, 2020 at 1:51 am #1476006moderndev
Hey Tom,
Here is a link for the screen shot https://snipboard.io/dnwx9z.jpg.
Also, I would be happy for you to take a look at the admin yourself. I have added a temporary login.
Check the link in the “Private information”.
Please just leave the site as you find it.
Best regards,
PeterOctober 7, 2020 at 4:27 am #1476206David
StaffCustomer SupportHi there,
can you disable any cache / optimization plugins – then enable Flex and clear your browser caches. Does the issue persist ?
October 7, 2020 at 5:16 am #1476290moderndev
That had no effect and I even tried with the my child theme disabled to ensure that none of my custom CSS was to blame
October 7, 2020 at 6:29 am #1476407David
StaffCustomer SupportTry this CSS:
.site-content { flex-wrap: wrap; } .wooarchive { flex: 1 0 100%; }October 7, 2020 at 6:56 am #1476457moderndev
So to be clear I just add the css and turn the flexbox setting on?
I did that and it caused a different issue.
I have left the css live so you can see what I mean if you use the login I gave you.
October 7, 2020 at 7:27 am #1476506David
StaffCustomer SupportJust to be clear – its resolved the Desktop layout ? Correct ?
Whats the other issue – sorry need more coffee 🙂
October 7, 2020 at 8:16 am #1476783moderndev
No nothing is solved. Still cannot use the flexbox
October 7, 2020 at 8:16 am #1476784moderndev
Yes, more coffee 🙂
October 7, 2020 at 9:31 am #1476950Tom
Lead DeveloperLead DeveloperThe issue seems to be where you’ve placed the
wooarchiveelement.Instead of there, try adding it as a Hook Element in the
generate_before_main_contenthook: https://docs.generatepress.com/article/hooks-element-overview/That should also prevent you from needing a custom WooCommerce template in your child theme.
October 7, 2020 at 10:58 am #1477101moderndev
I am having issues implementing this correctly. Are you able to see what I have done wrong?
October 7, 2020 at 11:00 am #1477106Tom
Lead DeveloperLead DeveloperYou’ve added an element in your child theme that looks like this:
<div class="wooarchive"> ... </div>You should remove that, and add it as a Hook Element to the
generate_before_main_contenthook.Right now it’s added inside a flex element, which is why the layout is wrong.
-
AuthorPosts
- You must be logged in to reply to this topic.