How to disable lightbox of featured image?

Home Forums Jevelin Theme How to disable lightbox of featured image?

Home Forums Jevelin Theme How to disable lightbox of featured image?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    RESOLVED Posts
  • TueNguyen
    Participant

    Hello,

    I want to disable the lightbox when click on the featured image.

    How to do it?

     

    http://prntscr.com/k3w8zc

    Hi @TueNguyen

     

    I hope you are well today and thank you for your question.

     

    Could you please share me the page URL from your site where it is displaying so that I can help you to achieve it?

     

    Best regards,
    Shufflehound team

    TueNguyen
    Participant

    Hi support team,

    This is my site:

     

    https://carnews.mobi

    Solution for this topic

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .blog-list .sh-overlay-style1 .sh-overlay-item:first-child {
        width: 100%;
    }
    
    .blog-list .sh-overlay-style1 .sh-overlay-item:last-child {
        display: none;
    }
    
    #page-container .blog-list .sh-overlay-style1 .sh-overlay-item-container {
        right: 40%;
    }

    TueNguyen
    Participant

    Wow, it works. Thank you so much, i’ll review 5 stars for your team on Envato market.

     

    Just one question, i don’t want to show modal image when click on a featured image of a detailed post. How to do that?

     

    http://prntscr.com/k47xtx

    Solution for this topic

    Please use below CSS code to disable modal image.

     

    .single-post div#lightcase-overlay {
        display: none !important;
    }
    
    .single-post div#lightcase-case {
        display: none !important;
    }

    TueNguyen
    Participant

    You are the best, super thank you. I have to rate for you now 🙂

    You are always welcome here 🙂

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