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.liquidfile by inserting code before the</head>tag - Another user (Ujjaval) suggested adding CSS to the
theme.cssfile 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.
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
Decided! Added to cart-template.liquid
Hello @CHERKASOV ,
I would like to give you a recommendation to support you so kindly follow steps below:
-
Go to Online Store > Theme > Edit code of your current theme
-
Open your theme.liquid theme file
-
Paste the below code before
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
@CHERKASOV
put below css to resolve header problem into theme.css file
header.site-header.left {
width: 100% !important;
}


