Jump to content

7.1 Hover Color on Product Title

Recommended Posts

Wondering if someone can help me out with a piece of code that isn’t working for me.


Site: https://tarantula-calliope-fl4m.squarespace.com/collections/usualize-real-wine
Pass: squarespace
Action: The "buttons" under the picture should turn black with white text on hover
Code:

/* Product Landing Buttons */
.grid-meta-wrapper {
	margin-bottom: 0px!important;
	margin-top: 0px!important;
	margin-right: 58px;
}
.grid-main-meta {
	border: 4px solid #000!important;
    color: #000;
    width: 100%;
    bottom: 0px;
    padding: 25px;
    font-size: 24px;
    text-align: left;
}
.grid-main-meta a:hover {
  background: #000;
}
.grid-title {
display: inline-block;
}
.grid-title a:hover {
  color:#fff;
}
.grid-prices {
 float: right;
}
.grid-prices a:hover {
  color:#fff;
}

 

It looks like I need to target .grid-item-link but I can only get it to change the entire thing black on hover. 

Link to comment
  • Replies 1
  • Views 693
  • Created
  • Last Reply

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.