Help me please. Sets the header only in the cart, where the folder with this code is located

Topic summary

A user encountered an issue where a custom header appears only on the cart page of their Shopify store (icelry.com/cart).

Initially, they identified problematic code in a script but disconnecting it had no effect.

Resolution: The user solved the problem by adding markup to the cart-template.liquid file.

Additional suggestions were provided:

  • GemPages support recommended editing the theme.liquid file by inserting code before the </head> tag
  • Another user (Ujjaval) suggested adding CSS to the theme.css file to fix the header width issue:
header.site-header.left {
    width: 100% !important;
}

The discussion appears resolved with the user’s self-implemented solution, though alternative CSS fixes were also offered.

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

Help me please. Sets the header only in the cart, where the folder with this code is located

Hello @CHERKASOV ,

It’s GemPages support team and glad to support you today.

Could you please share your display that you want.

In addition, could you please share your store URL ( with the password if your store password is enabled ) then I can see and suggest something for you?

Best regards,
GemPages Support Team

Hallo) https://icelry.com/cart

The problem is only in the header on one page

I found this code in this script but nothing changes when disconnected

Decided! Added to cart-template.liquid


Hello @CHERKASOV ,

I would like to give you a recommendation to support you so kindly follow steps below:

  1. Go to Online Store > Theme > Edit code of your current theme

  2. Open your theme.liquid theme file

  3. Paste the below code before


If you require any further information, feel free to contact me.

Best regards,
GemPages Support Team

1 Like

@CHERKASOV
put below css to resolve header problem into theme.css file

header.site-header.left {
    width: 100% !important;
}