ToronCan Posted August 30, 2022 Share Posted August 30, 2022 Site URL: https://www.vecxi.com/ Hey, Why did my custom shopping cart randomly disappear? I didn't change anything and today I noticed that it's gone. Appreciate any help. Password: August Thanks. Venera 1 Link to comment
ArminB Posted August 30, 2022 Share Posted August 30, 2022 Hey, maybe it's just black on black and (SITE STYLES > COLORS) Or go to 1) HEADER 2) Global > ELEMENTS 3) Check the Settings of the Shopping Cart That's worth a try About Armin: Squarespace Expert Profile: https://www.squarespace.com/designer/profile/3649084 Website: www.braunsberger-media.com Link to comment
ToronCan Posted August 30, 2022 Author Share Posted August 30, 2022 Hey Armin, No it's neither of those. I think it's something on Squarespace's end. I've used the same custom CSS for my custom cart for months and it's worked perfectly until today. Appreciate your input. Link to comment
Venera Posted August 30, 2022 Share Posted August 30, 2022 Hey, I have the same problem, today cart icon disappeared. I use this code: /* Cart Icon in the Header */ .icon--cart { svg { display:none ; } background-image: url(url); background-size: 25px 25px; background-repeat: no-repeat; } When I delete this piece of code ( svg { display:none ; }) then two baskets appear at once. Please help! ToronCan 1 Link to comment
ToronCan Posted August 30, 2022 Author Share Posted August 30, 2022 Yep! That's exactly what happed to me Venera. Same code and same outcome. Link to comment
creedon Posted August 30, 2022 Share Posted August 30, 2022 If I had to guess the issue has arisen because SS changed the header cart icon recently. https://support.squarespace.com/hc/en-us/articles/360001038687 ToronCan 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
ToronCan Posted August 30, 2022 Author Share Posted August 30, 2022 Sounds about right, creedon. Thanks for the heads up! Would love to know if anyone has any new custom CSS for this issue. Link to comment
izzyswebsite Posted August 30, 2022 Share Posted August 30, 2022 /* Replace the cart icon */ .header .header-actions-action--cart .icon { background: url(PUT CART IMAGE URL HERE) center no-repeat; stroke: transparent !important; content: ""; background-size: contain; } Does the above code work? Venera and ToronCan 1 1 Link to comment
ToronCan Posted August 30, 2022 Author Share Posted August 30, 2022 (edited) Worked like a charm izzyswebsite. Thanks for your help!!! Edited August 31, 2022 by ToronCan izzyswebsite 1 Link to comment
Venera Posted August 31, 2022 Share Posted August 31, 2022 8 hours ago, izzyswebsite said: /* Replace the cart icon */ .header .header-actions-action--cart .icon { background: url(PUT CART IMAGE URL HERE) center no-repeat; stroke: transparent !important; content: ""; background-size: contain; } Does the above code work? Big thanks! izzyswebsite 1 Link to comment
Madison_hanley Posted September 1, 2022 Share Posted September 1, 2022 Site URL: https://www.beginonballard.com/ Hey there, my custom cart icon disappeared randomly and is not showing up anymore - can you please assist? Here is the icon link:https://static1.squarespace.com/static/623113535517242488e4755c/t/62423bf9aeac573c5108aa91/1648507897865/checkout-chest.png And full CSS: .icon--cart { svg { display:none; } background-image: url(https://static1.squarespace.com/static/623113535517242488e4755c/t/62423bf9aeac573c5108aa91/1648507897865/checkout-chest.png); background-size: 20px 20px; background-repeat: no-repeat; } @media @mobile { #block-yui_3_17_2_1_1647401897839_22995 { display: none; } } .icon--cart { filter:invert(1); } header.black .icon--cart { filter:invert(0); } body:not(.header--menu-open) header:not(.black) .header-actions .icon-cart-quantity { filter:invert(1); } Link to comment
tuanphan Posted September 3, 2022 Share Posted September 3, 2022 On 9/2/2022 at 1:06 AM, Madison_hanley said: Site URL: https://www.beginonballard.com/ Hey there, my custom cart icon disappeared randomly and is not showing up anymore - can you please assist? Here is the icon link:https://static1.squarespace.com/static/623113535517242488e4755c/t/62423bf9aeac573c5108aa91/1648507897865/checkout-chest.png And full CSS: .icon--cart { svg { display:none; } background-image: url(https://static1.squarespace.com/static/623113535517242488e4755c/t/62423bf9aeac573c5108aa91/1648507897865/checkout-chest.png); background-size: 20px 20px; background-repeat: no-repeat; } @media @mobile { #block-yui_3_17_2_1_1647401897839_22995 { display: none; } } .icon--cart { filter:invert(1); } header.black .icon--cart { filter:invert(0); } body:not(.header--menu-open) header:not(.black) .header-actions .icon-cart-quantity { filter:invert(1); } Add width height for first code .icon--cart { background-image: url(https://static1.squarespace.com/static/623113535517242488e4755c/t/62423bf9aeac573c5108aa91/1648507897865/checkout-chest.png) !important; background-size: 20px 20px; background-repeat: no-repeat; background-size: contain; width: 30px; height: 30px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Madison_hanley Posted September 6, 2022 Share Posted September 6, 2022 Thank you so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment