Show More
I am trying to create a full-width page option but I only see the top and bottom padding on my wide page which is still very narrow. I am using the theme called Craft from Shopify.
A user is attempting to create a full-width page in Shopify’s Craft theme but finds the page remains narrow despite adjusting top and bottom padding.
Solutions Provided:
Multiple community members offered CSS-based fixes:
.page-width with max-width: 100% !important; and margin: 0 auto; propertiestheme.liquid file before the closing </body> tag</head> tag in the layout folder’s theme.liquid fileImplementation Steps:
theme.liquid</body> or </head>)Note: Contributors advised that users should be technically familiar with Liquid code and Shopify themes, or consider hiring a Shopify expert. Screenshots were shared demonstrating the implementation process and expected results.
I am trying to create a full-width page option but I only see the top and bottom padding on my wide page which is still very narrow. I am using the theme called Craft from Shopify.
@JavierExposito
Share your store url ?
@JavierExposito
put below css to make page width wider
.page-width {
max-width: 100% !important;
margin: 0 auto;
padding: 0 1.5rem;
}
Hello @JavierExposito ,
To resolve this issue, you need to add the below-provided code to your theme.liquid file just before the tag:-
Here are the steps to fix the same.
Note: You are advised to follow the instructions if you are technically familiar with handling liquid.code or Shopify theme, else, consider hiring a Shopify expert.
Go to your Shopify admin > online store > themes.
Select your theme > edit code > open theme.liquid from the layout folder
Find (using ctrl+f) and paste the code before
Save the changes
Code:-
.main-page-title{ text-align: center; } .page-width{ max-width: 100% !important; }Result:-
15.99 KB of 69.55 KB
Hope it was helpful. Let us know if you need any more help with the issue.
Regards,
CedCommerce