Jump to content

Add CSS to Shopping Cart Page

Recommended Posts

  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply
2 hours ago, Hailee said:

the newer one. 7.1 I believe?

Yep that is correct, 7.1 is the newest version at the moment. So there’s a code you can try from Tuanphan, but this code is used for code blocks, but you can maybe inspect the elements of the shopping cart page to probably fix the code. If you have any questions, I’m here 😁

<style>
  .header-title-logo img {
    visibility: hidden;
}
.header-title-logo a {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
</style>
Link to comment

If you want to simply invert the image that is already there add the following to Design > Custom CSS.

.cart .header-title-logo img {

  filter: invert( 100% );
  
  }

If want to change the logo altogether let us know and we can help you adapt @tuanphan's code for use with the cart page.

Let us know how it goes.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.