Shopify themes, liquid, logos, and UX
I would like to remove this white space shown in red from the site on both mobile and desktop. I don't know how it got there, or how to remove it.
Solved! Go to the solution
This is an accepted solution.
Hi @jeffjohnston86
Please put this css in theme.liquid before body closing tag </body>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
Please don't forget to Like and Mark Solution to the post that helped you.
Thanks!
This is an accepted solution.
- Here is the solution for you @jeffjohnston86
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it
<style>
body {
margin: 0 !important;
padding: 0 !important;
}
</style>
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
This is an accepted solution.
Thanks for the info, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
body.gradient.animate--hover-vertical-lift {
margin: 0 !important;
padding: 0 !important;
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
like this @jeffjohnston86
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Would you mind sharing your store URL? Thanks!
Sure, here is the preview of the theme, as it isn't currently published. https://m2pknhq86hfrfux8-8092027.shopifypreview.com
This is an accepted solution.
Thanks for the info, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
body.gradient.animate--hover-vertical-lift {
margin: 0 !important;
padding: 0 !important;
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @jeffjohnston86
Please put this css in theme.liquid before body closing tag </body>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
Please don't forget to Like and Mark Solution to the post that helped you.
Thanks!
I've made this change to the code at line 300, I'm not sure if this is what you meant to do, but it did not remove the boarder unfortunately.
Never mind I inserted in the wrong area, it worked thank you!
Hello @jeffjohnston86
Our team is ready to help you.
Please share your website URL so that we can check and assist you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Here is the preview of the theme as it currently isn't published. https://m2pknhq86hfrfux8-8092027.shopifypreview.com
This is an accepted solution.
- Here is the solution for you @jeffjohnston86
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it
<style>
body {
margin: 0 !important;
padding: 0 !important;
}
</style>
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
This is an accepted solution.
like this @jeffjohnston86
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Thank you for your help!
Glad to help you. Have a good day.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024