Jump to content

Created a Mini Cart using Code Injection - why is it affecting products?

Recommended Posts

The cart code is not causing the issue with product list pages.

It is the following custom code.

.products.collection-content-wrapper .grid-meta-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100% !important;
  text-align: center !important;
  opacity: 1;
  transition: all .5s
}

.products.collection-content-wrapper .grid-meta-wrapper .grid-main-meta {
  width: 100%;
  opacity: 0
}

.products.collection-content-wrapper .grid-item:hover .grid-main-meta {
  opacity: 1
}

This code moves the text to the middle causing it to escentially cover or make a hole in the anchor tag, making that area not clickable.

I don't have a solution at this time.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

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