Hi there,
I’m trying to disable the lightbox on single post featured images with no luck
I’ve tried the css on these forum posts and its not working:
https://kriesi.at/support/topic/how-to-remove-lightbox-from-featured-image/
This does not remove the lightbox?:
#top.single-post .big-preview.single-big a,
#top.single-post .small-preview {
pointer-events: none;
cursor: default;
}
Also, https://kriesi.at/support/topic/featured-image-with-or-withouk-a-lightbox-effect/
This does not remove the lightbox?:
.big-preview.single-big { pointer-events: none; }
Plus, I’m trying to remove / disable some single post featured images based on post category. I have tried several css with no luck, example:
.category-15 .post-loop-1 .big-preview {
display: none;
}
.category-15 .single div.big-preview.single-big, .single .small-preview {
display: none !important;
}
Please help me with the correct css – much appreciated!
Thanks very much!
Hi guys, any update on this?
Thanks very much
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.single .big-preview.multi-big {
pointer-events: none;
}
Regards,
Yigit
Thanks Yigit, that works great.
Please also help with the 2nd question: I’m trying to remove / disable some single post featured images based on post category no 15 . I’ve now tried the following but it doesn’t work:
.category-id-15 .big-preview a {
display: none;
}
Help much appreciated
Thanks
Hey!
You can edit your blog posts and choose not to display featured image on single posts – http://i.imgur.com/6KPJ03p.png
Cheers!
Yigit
Thanks Yigit, missed that one – great theme!