How do i remove the header 'terugbetalingsbeleid' from my store?

Topic summary

A user seeks to remove the ā€˜terugbetalingsbeleid’ (refund policy) header from their Shopify store’s policy pages.

Initial Solutions Provided:

  • Multiple contributors offered CSS-based approaches to hide the header using conditional logic for policy pages
  • Code snippets were shared to be added in the theme.liquid file before the closing </body> tag

Implementation & Follow-up:

  • The user successfully removed the header using provided code
  • A new issue emerged: the content now sits too close to the top of the page without adequate spacing

Spacing Solutions Offered:

  • Contributors suggested adding CSS to create whitespace by targeting .shopify-policy__container with top margin (50px recommended)
  • Alternative approaches included hiding .shopify-policy__title via display:none and adjusting container margins
  • Specific placement instructions provided: add code in theme.liquid file or base.css/style.css files

Status: The header removal is complete; spacing adjustments are being implemented to improve visual layout.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

I want to remove the header from this policy page and also from other pages:

2 Likes

Hey @Treasora

Share your store URL and password if enabled.

Best Regards,

Moeed

Hi @Treasora
I hope you are doing well
To hide header from all policy pages
Please put this code in theme.liquid before body closing tag

{% if request.page_type == 'policy' %}

{% endif %}

Thanks!

Hi @Treasora

Please, share your store URL. Thanks!

pandorable.nl

1 Like

pandorable . nl

Could you show me where? this is the bottom of the page:

Hey @Treasora

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


RESULT:

If I managed to solve your problem then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Thanks Moeed, the header has dissapeared!

Is it possible to have a little bit of white space because now it looks like this:

Hi @Treasora ,

Please add code:


Thanks for the info, check this one.

  1. From your Shopify admin dashboard, click on ā€œOnline Storeā€ and then ā€œThemesā€.
  2. Find the theme that you want to edit and click on ā€œActionsā€ and then ā€œEdit codeā€.
  3. In the ā€œAssetsā€ folder, click on ā€œbase.css, style.css or theme.cssā€ file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.shopify-policy__title {
    display: none;
}

.shopify-policy__container {
    margin-top: 50px;
}

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

before the word

Hi @pawankumar ,

Please go to Actions > Edit code > Layout > theme.liquid file and add code here:

Code: