How To Remove The Excess White Space On Various Pages On Debut Theme? WITHOUT affecting home page

Hi there,

I have an excess chunk of white space at the top of various pages on my website. Here are two examples:

https://rasayanaliving.com/pages/testimonials

https://rasayanaliving.com/pages/about-eric

I recently had someone tell me to use this code:

.main-content { padding-top: 0; }

And it worked.. However, it then cut the banner on my home page short which made it look weird. I want to remove the excess space on my “extra” pages only (not my home page or collections page).

Any help is greatly appreciated. Thank you.

How can I remove this space? Thank you!

Hey @EES210

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

{% if template.name == 'page' %}

{% endif %}

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi, on this page on my website https://aestheticcomforts.com/pages/room-planner-free-design-my-room there is excess white space on the left, can you help me remove it? Thanks a bunch