Jump to content

Why have I got two shopping cart icons showing?!

Recommended Posts

  • Replies 6
  • Views 273
  • Created
  • Last Reply

Top Posters In This Topic

And in messing around trying to fix it, my drop down menus now have black backgrounds, when they are supposed to be transparent (so you can see the image under them). They also had an underline as you hovered over each item in the menu, and that's gone too.....

Edited by poshyarn
Link to comment

Remove the following code from Settings > Advanced > Code Injection > FOOTER.

<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>

<script>
  $(".Cart-inner").append("<i class='fa fa-shopping-bag' aria-hidden='true'></i>");
</script>

Then check out Shopping cart icon display for SS's built-in method of changing the cart icon.

Let us know how it goes.

Edited by creedon

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
7 hours ago, creedon said:

Remove the following code from Settings > Advanced > Code Injection > FOOTER.

<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>

<script>
  $(".Cart-inner").append("<i class='fa fa-shopping-bag' aria-hidden='true'></i>");
</script>

Then check out Shopping cart icon display for SS's built-in method of changing the cart icon.

Let us know how it goes.

You're a star, that did it!!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.