Remove useless white space around entire page.

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.

2 Likes

Hi @jeffjohnston86

Would you mind sharing your store URL? Thanks!

Hi @jeffjohnston86
Please put this css in theme.liquid before body closing tag


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

1 Like

Hello @jeffjohnston86
Our team is ready to help you.
Please share your website URL so that we can check and assist you.

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

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

1 Like
  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before and press ‘Save’ to save it

  • Here is the result you will achieve:

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
1 Like

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 tag and paste the code below before the tag.


And Save.

Result:

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

1 Like

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.

like this @jeffjohnston86

1 Like

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

Thank you for your help!

1 Like

Glad to help you. Have a good day.