New Landing How can we help? Cardinal Disabling the light box function for portfolio

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #322848
    DesignerDrew
    Member
    Post count: 9

    I would like to disable to the lightbox function for all of my portfolios when viewed on a smart phone. Currently, the overall look doesn’t make sense when you touch an image thumbnail and the image lightbox that pops up is smaller in size than the thumbnail itself. Can this be done? Thank you!

    Attachments:
    You must be logged in to view attached files.
    #323020
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please add this to Theme Options => Custom CSS:

    @media only screen and (max-width: 767px) {
       .portfolio-items a.lightbox.ilightbox-enabled {
           pointer-events: none;
       }
    }
    #323087
    DesignerDrew
    Member
    Post count: 9

    Thank you David. Can I also disable the hover effect on the thumbnails while viewed on a smart phone? It still does this when touching them while scrolling through.

    Attachments:
    You must be logged in to view attached files.
    #323156
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css option.

    @media only screen and (max-width: 767px){
      figure.animated-overlay:hover figcaption {
          opacity: 0!important;
      }
    }

    Let us know if it worked.

    -Rui

    #323182
    DesignerDrew
    Member
    Post count: 9

    That works great, thank you Rui!

    #323183
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Glad it’s sorted.

    -Rui

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

You must be logged in to reply to this topic.