XF 2.0 Lightbox isseus

ScrapDog

Member
Can somebody tell mt how to remove the buttons in the upper right of the lightbox of xenforo when clicking an image/attachment ?
I like to get rid of some of these buttons. Not all offcourse, e.g. download, open in window ......

Thx

ScrapDog

Schermafbeelding 2018-08-19 om 19.11.15.webp
 
Simple way to do it is CSS in extra.less
Example :
.lg-autoplay-button{display:none;}
.lg-fullscreen {display:none;}
.lg-close{display:none;}
use class of toolbar icon to hide them according to your need :)
 
Wow it's that simple, it worked.... exxept one icon. I like to hide the "lg-new-window" id, but if i do it like the example .... it won't !
Can you help me with that one ?

Schermafbeelding 2018-08-19 om 19.11.15.webp

Thx

ScrapDog
 
A long ago you typed me to do : #lg-new-window { display: none; } to diasble the external link icon for an image. But it doesn't work. Cen you tell me what to do ?
 
Back
Top Bottom