• Resolved maps1990

    (@maps1990)


    Hi Woocommerce team,

    I have several products with the same short description so I write this description on a html block and I write [html_block id=”5632″] in the short description of my product.

    – When I do so without adding any particular layout indications, some line breaks disappear, and at other locations it’s the opposite: there is too much white space.
    – When I add any specific layout indication in the html block rows or colums, like “bottom margin = 0px” (or any other thing), it solves the issue.

    I can’t use that temporary fix though, because I export my product data to many marketplaces and the marketplaces will write “bottom marging = 0” in my description.

    I attached a pic here to explain both situations.

    Weirdly enough, adding a random character in the product description after the html block (for instance if I add a dash: “[html_block id=”5632”] ” then it solves some of the missing line breaks, but not the additional space issue (second picture, here).

    Any idea of a fix?

    Thanks a lot,

    M

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter maps1990

    (@maps1990)

    No one?

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @maps1990. I’m sorry that we missed your initial post. However, html_block shortcodes are not built into WooCommerce. From my online search, it appears to be included with some themes such as Woodmart. In that case, please check with your theme support for help.

    Thread Starter maps1990

    (@maps1990)

    Oh my bad, I indeed use Woodmart but I thought they were a standard feature of Woocommerce. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML blocks in products Short Description: layout errors’ is closed to new replies.