Jump to content

Changing an element's color

Recommended Posts

Hi, I'm in the process of making my website and I ran into a small customization problem. On the "shopping cart" page where to cart's contents are displayed there is an "X" icon which is the Remove Item "button". I'd like to change it's color. I tried going thru all the style colors and none of them controls it. I'm guessing I need to change it in "Inspect" view. Any idea how I could go about it? I was able to find its element in the "Inspect" list but no matter what I add as the color value it stays black. I'd like to use a black background and I already have that set but if the element is black and background is black I won't be able to see it. Any help or coding/html example how to change it to white would be greatly appreciated.

Link to comment
  • Replies 1
  • Views 381
  • Created
  • Last Reply
On 7/2/2021 at 5:08 AM, Vitto said:

Hi, I'm in the process of making my website and I ran into a small customization problem. On the "shopping cart" page where to cart's contents are displayed there is an "X" icon which is the Remove Item "button". I'd like to change it's color. I tried going thru all the style colors and none of them controls it. I'm guessing I need to change it in "Inspect" view. Any idea how I could go about it? I was able to find its element in the "Inspect" list but no matter what I add as the color value it stays black. I'd like to use a black background and I already have that set but if the element is black and background is black I won't be able to see it. Any help or coding/html example how to change it to white would be greatly appreciated.

Add to Design > Custom CSS

button[title="Remove Item"] {
    color: #f5b200 !important;
}

 

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.