How do I disable or hide download button from image lightbox?

How do I remove or hide this button:

Original image button should stay.

Thanks

3 Likes

This CSS added to a theme would do it:

.mfp-bottom-bar .image-source-link:first-of-type {
  display: none;
}

but unfortunately you’d end up with a double • •, as those dividers are static and not targetable with CSS.

Screen Shot 2022-08-05 at 11.10.19 AM

We can probably improve the markup there at some point to avoid that.

6 Likes

Thanks @awesomerobot for helping me always :slight_smile:

1 Like

thank @awesomerobot for CSS that worked!

I found out this to hide infomation of image when mouse hover:
.meta{display:none;}

and this for hide all when clicked:
.mfp-bottom-bar{display:none;}

2 Likes