How to reomve video button (video-small.png, ico-video-large.png) from homepage

Posted in: Newspaper
Post count: 16

Hi,

I would like to remove video button (video-small.png, ico-video-large.png) from my homepage for a video post. I understand it can be done with Javascript at client side, but I was wondering if this can be done at server side too? Please help.

I am referring to the following files

wp-content/themes/Newspaper/images/icons/ico-video-large.png
wp-content/themes/Newspaper/images/icons/video-small.png

Post count: 23312

Hi,

You can try using a custom CSS code to hide it ->

.td-video-play-ico{
display:none;
}

Thanks.

Post count: 16

Can you please suggest something to be done at the server side. Applying CSS or Javascript would be client side or Browser based one. The whole purpose of having it on server side is to negate the extra http call to server

Post count: 20688

Hi,

So you mean the icon the theme ads in modules when the post is a video post. That is applied with CSS in the module, when a video post format is used (to indicate the post has a featured video)

The function is defined in this file, you can make modifications to it
https://www.screencast.com/t/n7gZpGt7zT

Thanks

Post count: 16

Thanks this worked.

However with the latest update to the theme, i.e in Newspaper version 9, this trick does not work with posts loop block. Can you please help me with the corresponding php file to remove the reference of video-small.png, ico-video-large.png?

Post count: 20688

Hi,

That would require modifications to the cloud library plugin, more exactly here
https://www.screencast.com/t/5lALma5HI

Thanks

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