All things Shopify and commerce
I need help with decreasing the line height and space between paragraphs throughout my website. Can someone please help ?
Website theme : Craft
Website URL : https://6375f5-2.myshopify.com/
p/w: Getlost12
Solved! Go to the solution
This is an accepted solution.
Navigate to Online Store > Themes > "..." > Edit Code. Find the base.scss file in your Assets folder and add this to the very bottom. This applies to all paragraphs only. You can change the "rem" to "px" unit if you prefer and, of course, adjust as you see fit.
p {
line-height: 1.5rem;
margin-bottom: 2rem;
}
This does the work but how does not change the line height between product name and product price? Can you help me figure that out as well ?
This is an accepted solution.
to base.css?
Yes where you add the upper code
Hi @shopekaja
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
5) And paste the below code
<style>
p {
line-height: 1.5rem !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Rock Technolabs
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024