Changing line spacing for text in Prestige Theme

Hello,

I am currently using Prestige theme for my store and I am encountering an issue where all the line spacing is too wide, particularly for item descriptions and any written information on any page.

If I am writing a post and I press enter to start a new line, there is about 2 or more sentences worth of space that ends up between each line, when I just want the new line to sit right beneath the previous line. See attached images below for an example.

Can anyone help me out with the code I need to replace?

Thank you for your time.

1 Like

Hi @Pro6

You need to adjust the line height of the text. Would you mind to share your Store URL website? with password if its unpublish. Thanks!

1 Like

Thanks for your quick response! The link is:

https://pro-6-cycle.myshopify.com

password: shopifyhelp

Many themes offer built-in settings for adjusting line spacing. Check your theme’s settings panel for options related to “Typography”, “Spacing”, or “Content” settings. Look for specific options like “Line height” or “Paragraph spacing” and adjust them to a lower value to reduce the space between lines.

1 Like

Thanks for the info, check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

body {
line-height: normal;
}

And save.

Result:

You can adjust it by adding 1px or 2px depends on your liking.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

2 Likes

This definitely worked to change the line spacing. However, it didn’t change the amount of space that gets put between two paragraphs. Basically anytime you press “enter” to start a new line it makes a massive gap. Do you know what code I would need to change that to make it a more reasonable space? Thank you very much for all your help so far!

Unfortunately my theme doesn’t have those options. I looked for a while before posting here :disappointed_face:

Hi. Did you find a solution to this? I’m experiencing the same problem with Prestige.

Thanks

Nope! No answer in this thread helped it. I just ended up rewriting the
text elsewhere (like google docs) and then copy/pasted it back into the
item description/wherever else it was needed. And sometimes even that
formatting ended up odd. I spent a lot of time trying to correct it
everywhere and I still don’t get why the issue happens because it’s not
consistent either. Not sure if it’s a prestige issue or shopify.

Late to the party but we had this issue and solved it with replacing some HTML when you press enter it puts

so it would be something like

"

Example of this issue

You could remove the

and

then put
at the start of your text


Example of this issue

starts a new paragraph with extra line spacing,
starts a new line.

If you are not happy using basic HTML you can achieve this by pressing “shift” + “enter/return” key when in rich text format.