How can I eliminate a line break in my product description HTML?

Hi there

I’m trying to get rid of this line break In the text of my product description. Any idea what’s going on here or what I should be looking to remove in the HTML?

Hi @ottoloom

I would recommend using a free HTML Editor to edit your product description and remove the unneeded line breaks/spaces that are happening. The great thing about using a tool like this is that when you make changes you can see the HTML for it update in real time, making it a great learning tool as well.

https://html5-editor.net/ is one that I like to use and would recommend trying out! Just copy and paste the customer facing description into the text editor, and it will automatically convert it into HTML that you should be able to copy and paste back into your Shopify HTML editor.

Hello, this still did not work. Can you explain what piece of code I need to remove?

Would you be able to copy and paste the full html text into a reply here for me. I can’t guarantee I can correct it, but I am happy to try.

Also to clarify, are you trying to remove the gray line and add a line break between “limited shelf space./Towel Care”?

Yes that is correct. Just a line break rather than a line

HTML is here -

Size Small: 33cm x 40cm

Size Medium: 33cm x 100cm

Size Large: 70cm x 135cm

The Moku Linen Lightweight Towel is perfect for anyone with a minimalist style. Moku Linen is a lightweight textile woven from a mixture of cotton and linen for a natural, refreshing feeling in the hand. Powerfully absorbent and quick-drying, its thin texture emphasises the distinctive softness of Japanese linen.

The compact design makes this an ideal choice for homes and kitchens with limited shelf space.

Towel Care:
Machine wash with cold water and mild detergent. No bleach or fabric softeners. Hang or tumble dry on low heat for a fluffier finish.

KONTEX towels and accessories are woven at gentle speeds on an old fashioned weaving machine. This slow weaving process brings out the natural softness of the yarn while retaining yarn strength.

Thank you for the description format! I went ahead and cleared all formatting of the text (so no bold/italics) and that seem to get rid of all the random pieces of HTML that were in there. Here is the new cleaned up description (tested on my own store):


Size Small: 33cm x 40cm

Size Medium: 33cm x 100cm

Size Large: 70cm x 135cm

The Moku Linen Lightweight Towel is perfect for anyone with a minimalist style.Moku Linen is a lightweight textile woven from a mixture of cotton and linen for a natural, refreshing feeling in the hand. Powerfully absorbent and quick-drying, its thin texture emphasises the distinctive softness of Japanese linen.

The compact design makes this an ideal choice for homes and kitchens with limited shelf space.

Towel Care:
Machine wash with cold water and mild detergent. No bleach or fabric softeners. Hang or tumble dry on low heat for a fluffier finish.

KONTEX towels and accessories are woven at gentle speeds on an old fashioned weaving machine. This slow weaving process brings out the natural softness of the yarn while retaining yarn strength.

Thank you. I’ve got another question which I have posted. Are you able to assist?

Hi @ottoloom , I’m happy to help if I am able to. Feel free to drop the link to your other question or ask it here and I’ll do my best to help.

Hi Shay

I can’t now find the message I posted. But it is to do with the variants not working on Safari or mobile browser on a few of my products - for example - https://ypx0be7902vis7d7-2410317.shopifypreview.com/collections/kontex-japanese-range/products/linen-waffle-bath-range

They first variant seems to always remain the dominant no matter if you click to change (on safari/mobile). Chrome etc seem to work fine.

Any ideas why this could be happening?