Shopify themes, liquid, logos, and UX
I am trying to decrease the bottom padding/ margin of my store's "Rich text" element, which uses the Impact template. To achieve this, I need to locate the correct CSS class or ID that targets the "Rich text" element and then add custom CSS or modify it to edit its bottom padding. How and where do I do that?:
theme.liquid, theme.css or local injecton?
PW: Artforthewin
Solved! Go to the solution
This is an accepted solution.
Hi @Dare_to_ask
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
.shopify-section--rich-text .section {
padding: 10px;
}
</style>
or this code to target only the rich text above the bestseller
<style>
#shopify-section-template--21853297082700__rich_text_V8afhU .section {
padding: 10px;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi @Dare_to_ask
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
.shopify-section--rich-text .section {
padding: 10px;
}
</style>
or this code to target only the rich text above the bestseller
<style>
#shopify-section-template--21853297082700__rich_text_V8afhU .section {
padding: 10px;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024