Jump to content

Changing logo color on shopping cart page

Recommended Posts

  • Replies 3
  • Views 807
  • Created
  • Last Reply
1 hour ago, tuanphan said:

Add to Design > Custom CSS


body#cart header#header img {
    filter: invert(1);
}

 

Hi Tuan! 

You always pull through for the community here, so thank you! I already tried this code but it inverts the color from white to black. I'm looking to change the color from the current white to the brown that is shown on all other shop pages. 

Link to comment
On 2/9/2021 at 9:20 PM, maisaguam said:

Hi Tuan! 

You always pull through for the community here, so thank you! I already tried this code but it inverts the color from white to black. I'm looking to change the color from the current white to the brown that is shown on all other shop pages. 

Try this new code

/* Cart page - new logo */
body#cart {
.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;
}
}

Replace beaverhero with new logo url

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

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.