Home › Forums › Jevelin Theme › How to disable lightbox of featured image?
Home › Forums › Jevelin Theme › How to disable lightbox of featured image?
Hello,
I want to disable the lightbox when click on the featured image.
How to do it?
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
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%; }
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?
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; }
You are the best, super thank you. I have to rate for you now 🙂
You are always welcome here 🙂