Shopify themes, liquid, logos, and UX
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 Shopify Community!
I'm trying to add a custom page-width CSS code to just a selected template or Page..
Im trying to make do that with this code, but it does not seem to be working.
I'm using dawn theme and im trying to put a custom CSS code on the Home Page
Home Page
Im basically trying to maximize the page width of the template > image with text
Try to change "home" to "index"
Thanks @miguel_liquify unfortunately it did not make difference
I wonder if I'm missing on something here
Sorry, mi bad, try with "template.name"
Change the css sentence
<style>
body . page-width{
width: 100%;
padding: 0 !important;
</style>
I am writing this answer after very long time, however, I am sharing solution so that it may helps for anyone else
@parallelism23 you need update the CSS code & add space between the code i-e
body.page-width
Need to replace/update code with below (Space added between body & .page-width)
body .page-width
<style>
body .page-width{
width: 100%;
padding: 0!important;
</style>