Why is the 'empty cart' text appearing below the footer?

Topic summary

A user modified their empty cart page and encountered an issue where “empty cart” text appears below the footer on all pages.

Proposed Solutions:

Multiple respondents suggested similar CSS-based fixes:

  • Navigate to Online Store → Themes → Edit Code
  • Open the theme.liquid file
  • Locate the closing </body> tag
  • Add CSS code just above this tag to hide or remove the problematic text

One respondent specifically mentioned checking the bottom of the theme.liquid file where the code causing this issue likely exists and can be removed directly.

Status: The discussion presents technical solutions but doesn’t confirm whether the issue was resolved. The fixes involve adding custom CSS or removing existing code from the theme file.

Summarized with AI on November 20. AI used: claude-sonnet-4-5-20250929.

Hello, I have done some small changes to my empty cart page and for some reason something makes the text “empty cart” to show up below the footer on all pages.

How can I remove this text?

Store url: https://23bc4a.myshopify.com/policies/terms-of-service

Best regards, Leon

@Leonpojen - go to theme.liquid page , scroll down and check the code at bottom of it, I think you will have it there, you can remove it

Hi @Leonpojen , Just follow below steps-

  1. Go to Online Store

  2. Edit Code

  3. Find and open theme.liquid and find tag and above this tag just paste below code


Save and check!

If works Please mark as solve!

2 Likes

Hi @Leonpojen ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea for solution:

Step 1. Go to Online Store → Theme → Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before :


Hope my answer will help you.

Best regards,

Victor | PageFly

1 Like