Custom Cart Icon in the Header | Squarespace 7.1

Squarespace 7.1 allows you to edit the size and visibility of the cart icon. However, it does not give you the option to change the icon itself.

In this video, I show you how to replace the cart icon in the header with a custom image or icon of your choosing. All of the code used in the video is provided below.

 
 

The following code is used in the video.

.icon--cart {   
  svg {     
    display:none;   
  }   
  background-image: url(IMAGEURL);   
  background-size: 20px 20px;   
  background-repeat: no-repeat; 
}
 

Resource Mentioned

  1. Canva

 
 
Rebecca Grace

Rebecca Grace is a Squarespace CSS Expert and Website Designer.

https://rebeccagracedesigns.com
Previous
Previous

Remove Underline from Links in Squarespace 7.1

Next
Next

Replace Social Icons in the Header | Squarespace 7.1