Why your line breaks disappear on the product page What you’re seeing usually happens when the product description is being output without WordPress’ normal formatting filters. In the editor, each “new line” is stored as a line break in the content, but on the front-end WordPress normally runs the text through
the_content /
wpautop which converts those line breaks into proper HTML paragraphs (
) and breaks (
). If Elementor (or your theme) is rendering the description via a custom widget/template and it uses something like
or
directly, the formatting won’t be applied and everything can appear as one long block.
What to check in Elementor - Edit your Single Product template in Elementor.
- Make sure you’re using the Product Content widget (or WooCommerce “Product Description/Content” widget),not a plain Text Editor widget with a dynamic tag.
- If you used a dynamic tag, switch it to the dedicated Woo widget so Elementor applies the right filters.
If you need a code fix (backup first) If your theme is overriding Woo templates, check:
Code:
yourtheme/woocommerce/single-product/tabs/description.php
It should output:
Not
.
If you can’t change the template easily, you can force formatting via a small snippet in
(child theme) or Code Snippets plugin:
Code:
add_filter( 'woocommerce_short_description', 'wpautop' );
add_filter( 'woocommerce_product_get_description', 'wpautop' );
Test this on one product first (staging site if possible),since some page builder content can end up with double paragraphs if it’s already formatted. If you share the URL and tell me whether you’re using an Elementor Single Product template, I can point to the exact widget/template causing it.