Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi all using the Porto Theme for our store and want to increase the width of the text on the policy pages.
Have had a good look through the forum and have found a couple of solutions for others that have worked but cant find some of the required files on the them that allow me to import the following
.shopify-policy__container{max-width: 1200px !important;}
there isn't a theme file in the asset folder or when i search cannot find anything relating to policy container
any idea how i may go about doing this now??
Solved! Go to the solution
This is an accepted solution.
Hello, @e-lik
Add an !important at the end of the code provided by oscprofessional, as in:
.shopify-policy__container {
max-width: 100ch !important;
}
@e-lik ,
Share the store URL.
@e-lik ,
.shopify-policy__container {
max-width: 100ch;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->style.scss.liquid
nope didn't work, there is no scss files only style.css
@e-lik ,
Yes, import there.
I did and it has not worked
@e-lik ,
Try to add in the top or in between.
@e-lik ,
.shopify-policy__container {
max-width: 100ch;
}
You are missing ; this semicolon
This is an accepted solution.
Hello, @e-lik
Add an !important at the end of the code provided by oscprofessional, as in:
.shopify-policy__container {
max-width: 100ch !important;
}
Thank you for the confirmation, this worked and has updated the page 🙂