Posted: October 24, 2017 at 8:22 am
|
Hi, we’ve asked the theme developer team from Avada to help us troubleshoot the issue we’re encountering with the broken products layout in Woocommerce and they have found that EE4 plugins create extra divs that are the culprits. Is there a way to tweak these divs? Any solutions to fix this issue? Here’s an example: https://www.mipstick.com/product-category/customized-nutrition/ You’ll notice that it forces the products to go to the next row instead of flowing nicely and filling the entire width of the page. Please help! |
Hi there, Another user posted the same issue with Avada here: https://eventespresso.com/topic/ee-interaction-with-woocommerce-products-archive-page/ Josh provided a solution, editing the template involved here: https://eventespresso.com/topic/ee-interaction-with-woocommerce-products-archive-page/#post-142867 Now you’ll want to copy the template you are editing to a child theme and edit the copy so your modifications are not lost the next time you update Avada. |
|
Another solution would be to fix the Avada theme’s CSS. Normally the extra divs from Event Espresso do not break anything, but Avada has some CSS that doesn’t allow the extra divs (without something breaking). This is the relevant section from Avada’s embedded CSS:
which if that gets changed to:
The layout will snap back into place. See also: https://css-tricks.com/the-difference-between-nth-child-and-nth-of-type/ |
|
|
We’ve implemented the recommendation from Tony above and it worked. Thank you for your help guys! |
The support post ‘WOOCOMMERCE PRODUCT LAYOUT ISSUE DUE TO EE4’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.