Home > Software engineering >  I want to position the left image position set to sticky
I want to position the left image position set to sticky

Time:11-12

I'm trying to set the left image of https://asleshifa.com/product/t500-smart-watch/
Like this https://sundaypk.com/product/t500-smart-watch/

I have tried

.storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
    width: 42.130435%;
    margin-right: 1.347826%;
    padding-left: 20px;
    position: sticky;
    top: 15px;
}

CodePudding user response:

Add this media query to the CSS:

  @media (min-width: 900px){
    .site{overflow-x: visible;}
  }
  • Related