New Landing How can we help? Cardinal disable portfolio lightbox link

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Cardinal
  • #135217
    chiriacdr
    Member
    Post count: 12

    Hi there,

    Great theme, I love it!

    Are there any code lines I could use to disable the portfolio lightbox link to thumbnail image whenever the website is loaded by a mobile device? Whenever I am navigating on my phone and I click on my portfolio items, the width of the images gets all messed up and take too much time to load. On my computer it works just fine. Is there any way to disable this function only for the mobile navigation, so that the pictures (portfolio items) remain small without any link attached to them?

    I tried simply uploading the images in a portfolio showcase within a row with the visibility only set for mobile devices, but at each time I tried doing so (even with written content), the pages take 3 to 4 times longer to load.

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #135296
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Sure, add this to your custom css:

    @media only screen and (max-width: 767px) { 
    .portfolio-items .owl-item figure {
      pointer-events: none;
    }
    }
    #135442
    chiriacdr
    Member
    Post count: 12

    Thanks! It’s exactly what I needed!

    Quick and efficient as always ๐Ÿ™‚

    #135579
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Glad it works ๐Ÿ™‚

    Let us know, if you have any other questions.

    Thanks,
    laranz.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register