Shopify themes, liquid, logos, and UX
Hi, I am trying to make the specific rich text container on the homepage more narrow.... here is the link
https://1d9ed8-ee.myshopify.com/
Hi, this is really easy to do just follow the below instructions!
1. Go to 'Online Store' -> Themes
2. From your active theme click on the 3 dots(...) -> Edit Code
3. Inside the assets folder, locate the file 'base.css'
4. At the end of the file paste the below code
.rich-text__wrapper.rich-text__wrapper--template--15352363024439__rich_text_7pfxKr .rich-text__content{
max-width: 80% /* The lower the percentage the narrower the rich text. Adjust according to your preferences */
}
Hi @selwilton
You can do that by adding this code to Custom CSS of that rich text section
.rich-text__wrapper {
max-width: 1000px;
margin: 0 auto;
}
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi @selwilton
You can use the following code to resize the rich text container. You can set the size based on your requirements for desktop and mobile using the code below.
.rich-text__wrapper {
max-width: 80%;
margin: 0 auto;
}
@media(max-width: 600px) {
.rich-text__wrapper {
max-width: 100%;
}
}
Thanks
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025