Reveal on Hover Product title, Price and Size availability. ( Product Grid - Dawn Theme)

Solved

Reveal on Hover Product title, Price and Size availability. ( Product Grid - Dawn Theme)

BERNAT-LASDUNAS
Tourist
16 0 3

Hey community, how are you doing.

I'm struggling on making this happen on my site. Reveal on Hover Product title, Price and Size availability. ( Product Grid - Dawn Theme)

If anyone knows which code should I use.

I would truly appreciate your help.

Thanks.Screen Shot 2023-05-10 at 7.20.44 am.png

 

My Site:

https://www.lasdunasbyron.com/collections/unisex 

 

 

Accepted Solution (1)

dmwwebartisan
Shopify Partner
12321 2552 3729

This is an accepted solution.

@BERNAT-LASDUNAS 

Please add the CSS below the end of the file: assets/component-card.css in your theme

.product-card-wrapper .card--standard>.card__content .card__information {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  transition: .3s all;
  opacity: 0;
  visibility: hidden;
}
.product-card-wrapper .card--standard .card__inner:after {
  transition: .3s all;
}
.product-card-wrapper:hover .card--standard .card__inner:after {
  z-index: 0;
  background-color: rgba(255,255,255,0.7);
}
.product-card-wrapper:hover .card--standard>.card__content .card__information {
  opacity: 1;
  visibility: visible;
}

Thanks!

View solution in original post

Replies 2 (2)

dmwwebartisan
Shopify Partner
12321 2552 3729

This is an accepted solution.

@BERNAT-LASDUNAS 

Please add the CSS below the end of the file: assets/component-card.css in your theme

.product-card-wrapper .card--standard>.card__content .card__information {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  transition: .3s all;
  opacity: 0;
  visibility: hidden;
}
.product-card-wrapper .card--standard .card__inner:after {
  transition: .3s all;
}
.product-card-wrapper:hover .card--standard .card__inner:after {
  z-index: 0;
  background-color: rgba(255,255,255,0.7);
}
.product-card-wrapper:hover .card--standard>.card__content .card__information {
  opacity: 1;
  visibility: visible;
}

Thanks!

Rburg
Tourist
4 0 1

When I add this, nothing appears to happen? Am I missing a extra step I need to do? 

Thanks!