Remove useless white space around entire page.

Solved

Remove useless white space around entire page.

jeffjohnston86
Tourist
6 0 4

Screenshot from 2024-09-18 10-37-20-1.pngScreenshot from 2024-09-18 10-37-20.png

 

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.

Accepted Solutions (4)

pawankumar
Shopify Partner
618 91 112

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!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

View solution in original post

BSS-TekLabs
Shopify Partner
2350 702 828

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:

BSSTekLabs_0-1726675308643.png

 

BSSTekLabs_1-1726675327227.png

 

- 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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Made4uo-Ribe
Shopify Partner
8417 2015 2470

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:

Made4uoRibe_0-1726675332847.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

BSS-TekLabs
Shopify Partner
2350 702 828

This is an accepted solution.

BSSTekLabs_0-1726675520836.png

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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 12 (12)

Made4uo-Ribe
Shopify Partner
8417 2015 2470

Hi @jeffjohnston86 

Would you mind sharing your store URL? Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
jeffjohnston86
Tourist
6 0 4

Sure, here is the preview of the theme, as it isn't currently published. https://m2pknhq86hfrfux8-8092027.shopifypreview.com

Made4uo-Ribe
Shopify Partner
8417 2015 2470

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:

Made4uoRibe_0-1726675332847.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

pawankumar
Shopify Partner
618 91 112

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!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
jeffjohnston86
Tourist
6 0 4

Screenshot from 2024-09-18 12-02-30.png

 

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.

 

jeffjohnston86
Tourist
6 0 4

Never mind I inserted in the wrong area, it worked thank you!

BSS-TekLabs
Shopify Partner
2350 702 828

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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
jeffjohnston86
Tourist
6 0 4

Here is the preview of the theme as it currently isn't published. https://m2pknhq86hfrfux8-8092027.shopifypreview.com

BSS-TekLabs
Shopify Partner
2350 702 828

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:

BSSTekLabs_0-1726675308643.png

 

BSSTekLabs_1-1726675327227.png

 

- 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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2350 702 828

This is an accepted solution.

BSSTekLabs_0-1726675520836.png

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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
jeffjohnston86
Tourist
6 0 4

Thank you for your help!

BSS-TekLabs
Shopify Partner
2350 702 828

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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now