Remove error message on the bottom of page

Solved

Remove error message on the bottom of page

Odin_L
Visitor
3 0 0

I get this message at the very bottom of my website. It's below the footer. I removed the cart icon some while ago, I assume it has something to do with it. It's weird how it just showed up though.

 

".site-header-cart { display: none !important; }"

 

Does anyone know how to get rid of it?

 

https://guidarto.com/

Accepted Solution (1)

DitalTek
Shopify Partner
779 93 110

This is an accepted solution.

The short code is showing at the bottom of section footer is css code. It's show up because you are put it out side of style tag.

To solved this you need to access Admin -> Theme -> Customize Code -> Layout -> theme.liquid

then find to place is putting that code then wrap it by either style tag like this:

<style>
.site-header-cart {
    display: none !important;
}
</style>

Or you can remove that code if that not necessary.

You can please Like and Accepted Solution if my suggestion helpful. And if you want to customize or develop new feature on Theme or App => Contact to us via Email or WhatsApp.
- Contact Support : Gmail | WhatsApp: +84 398999359

View solution in original post

Replies 4 (4)

DitalTek
Shopify Partner
779 93 110

This is an accepted solution.

The short code is showing at the bottom of section footer is css code. It's show up because you are put it out side of style tag.

To solved this you need to access Admin -> Theme -> Customize Code -> Layout -> theme.liquid

then find to place is putting that code then wrap it by either style tag like this:

<style>
.site-header-cart {
    display: none !important;
}
</style>

Or you can remove that code if that not necessary.

You can please Like and Accepted Solution if my suggestion helpful. And if you want to customize or develop new feature on Theme or App => Contact to us via Email or WhatsApp.
- Contact Support : Gmail | WhatsApp: +84 398999359
Odin_L
Visitor
3 0 0

Thank you!!

PageFly-Oliver
Shopify Partner
878 190 184

Hi @Odin_L ,

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

 

You can search to find the 

.site-header-cart {
    display: none !important;
}

and replace it by 

<style>
.site-header-cart {
    display: none !important;
}
</style>



Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

ZenoPageBuilder
Shopify Partner
1052 203 227

There is a syntax error at this part

Screenshot 2023-10-21 at 09.34.35.png

 

You should edit it like this

<style>
.site-header-cart {
    display: none !important;
}
</style>
Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com