Shopify themes, liquid, logos, and UX
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.
Solved! Go to the solution
This is an accepted solution.
Please update line-height value is 2
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
Hi @Talal23
Please share your preview link
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
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; }
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
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
<style>
.our-company .rte div { line-height: 1.5 !important; }
</style>
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
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 </head> tag
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
It still didnt work before the header. this is the code I'm inputting:
<style> .our-company .rte div { line-height: 1.5 !important; } </style>
the .our-company .rte div is not showing up as a variable -- it's not showing up as green text, there is an image below for clarification
This is an accepted solution.
Please update line-height value is 2
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
THANK YOU!!!
You are very welcome, @Talal23
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
User | RANK |
---|---|
227 | |
181 | |
63 | |
58 | |
47 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023