Increase width of policy pages
- Go to Online Store > Theme > Edit code of your current theme
- Open your base.css theme file
- Paste the below code at the end of the css
.shopify-policy__container {
max-width: 95% !important;
}
.shopify-policy__container h1 {
text-align: left;
padding-top: 30px;
padding-bottom: 20px;
text-transform: Capitalize;
}
Related Articles
Making policy pages full width
In base.css, add the following at the end of the file. .shopify-policy__container { max-width: 95% !important; } .shopify-policy__container h1 { text-align: left; padding-top: 30px; padding-bottom: 30px; }
To achieve non-stackable policy list
In ~/blocks/footer-policy-list.liquid, replace with this. <ul class=" policy_list list-unstyled custom-typography {% if block.settings.font_size != "" %}custom-font-size{% endif %} " style="{% render 'typography-style', preset: 'custom', settings: ...
Highlighting one menu link with a distinct color
In the header, add in custom css as followings: a[href^="/pages/contact-us"] {color: #33ff00 !important;}
To make page width same as default page width
In custom css, add the following: .page-width-content { --page-content-width: var(--normal-page-width); }
Make blog post full width
In blog post css, add the followings: .blog-post-content { max-width: 100%; }