New Landing How can we help? Themeforest Theme Support Neighborhood Lightbox: Make entire product picture clickable to open in lightbox

Viewing 4 posts - 1 through 4 (of 4 total)
  • #133983
    westcoastsurf
    Member
    Post count: 210

    Hello, on the single product page, how can I remove the little zoom icon and make the whole image clickable to popup in lightbox?

    Thank you

    #134166
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    #product-img-slider li a.zoom {
      background: none repeat scroll 0 0 transparent;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
    }
    #product-img-slider li a.zoom > i {
      display: none;
    }

    – Kyle

    #134413
    westcoastsurf
    Member
    Post count: 210

    Thank you @kyle

    Also if anyone wants to keep the zoom icon but make it less obtrusive try this:

    
    #product-img-slider li a.zoom {
      background: none repeat scroll 0 0 transparent;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      color: #fff !important;
      opacity: .4 !important;
    }
    
    #product-img-slider li a.zoom > i {
      color: #fff !important;
      float:left !important;
      margin-left: 10px !important;
      margin-top: 10px !important;
    }
    

    If your product images are on a white background then change the “color:#fff;” to something darker.

    #134416
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Thanks for sharing.
    -Rui

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.