Harding Fixes

My logic is,

if (lightbox_enabled){
     imageslider with cover 
}else{
    only imageslider
}

I did the coding with only one imageslider in the html, which created an issue, on hover even if lightbox disabled opacity changes.
Let me know the best practice if necessary.