Tagged: Codeblock, Shortcodes, Textblock, woocommerce
Hey Everyone,
Figured I would post a quick note in hopes of helping someone else in the future. I have the most current Enfold and WordPress versions installed.
I installed woocommerce and added the product shortcodes to each of my pages manually in the Advanced Layout Builder. I kept having display issues with spacing, table column widths, and overall usability of woocommerce.
After taking a look with Firebug, I noticed that all of my woocommerce code was inside a <pre></pre>
tag. I realised that I had pasted shortcodes for woocommerce into the Text Block Element instead of the Code Block Element. When I pasted into the text block element, it added the <pre>
tag to all of the woocommerece stuff.
You can see what the ‘pre’ background looks like below (all my woocommerce store had this):
So moral of the story is, don’t paste shortcodes inside of Text Block Elements.
Hope this helps someone in the future!