How to hide Image Info Box button

Posted in: Newspaper
Post count: 234

Hi there,
Could someone explain me how to hide the button from an Image Info Box element?
Thank you in advance!

Here is an example:
https://imgur.com/a/9O02o4n

Page: https://tinyurl.com/5d8jfkwp

Post count: 27744

Hi,

You can use this custom code css
.tdm_block_image_info_box .tds-button
{
display:none;
}

Set the code in the Theme Panel -> Custom Code -> Custom CSS.

Thank you!

Post count: 234

That works great thank you.
What would be the best way to apply it on 1 element only and not on the entire website?

Post count: 234

I would like to remove the button on that element for example:

https://imgur.com/a/hRW4Oo9 (screenshot with button visible)
https://tinyurl.com/5bh426k3 (article)

Much appreciated.

Post count: 234

It would be nice to have an toggle in the Image Info Block UI to hide the button in the future.

Post count: 27744

Hi,

If you want the code to apply to only one element, then please add an extra class and add that class to the custom code css -> https://i.imgur.com/wiI1dmn.png
You can try to use Image Box, and this doesn’t have the button.

Thank you!

Post count: 234

Perfect, it works, thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.