I have a Shopify customer that would like to add spacing in between his About Us page. I tried adding .rte-content p { line-height: 2!important; } to the theme.liquid file and it didn’t work. I have attempted a lot of things and continue to struggle is there anyone out there with a solution? here is a Shopify preview link attached below to check on the About Us page.
Hi @Talal23
Please share your preview link
https://d2645plh4mcvdxm4-82467750198.shopifypreview.com
password: Xtooltech or xtooltech
check the About Us page
Hi @Talal23
Your text in About us page not swap in p tags, they are wrapped in div tag so you may can change your code to this one
.our-company .rte div { line-heihgt: 1.5 !important; }
Hello Dan thank you for the clarification. Unfortunately, that code didn’t work when I inserted it in the end of the Theme.liquid file. I tried doing it in the section custom CSS and it didn’t work either. any other suggestions?
If you add to theme.liquid file, please update code like this
Where would I add it beside theme.liquid? The new line of code did not work either ![]()
The first code is incorrect, I added is line-heihgt instead of line-height. Please add code before tag
Please update line-height value is 2
THANK YOU!!!
You are very welcome, @Talal23
