Skip to content
Public Ticket #22444

Video Posts: remove youtube link from post preview

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

a.penci-image-holder[href*="youtu.be"],
a.penci-image-holder[href*="youtube"] {
    pointer-events: none;
}

Regards,
PenciDesign.



PenciDesign Supporter replied

Staff Reply

Hi,

For this case, please send me your WordPress admin account in a PRIVATE reply.
I'll log in and try to help you remove it.

Regards,
PenciDesign.



lidiabolla replied

Customer Reply

Hello


Thanks for your reply.

That's okay, but I don't want to show the video, I want it to get redirected to the post itself.

At the moment this works when clicking on the icon, but not when you click on the image. You can try it on https://blockchainstory.ch/category/interviews/

Maybe there is some code to prevent this?

PenciDesign Supporter replied

Staff Reply

Hi,

The current version of Soledad doesn't support showing a video when you click the post format icon.

We'll consider adding this feature in the future theme update.

Regards,
PenciDesign.


lidiabolla started the conversation

Conversation Start

Hello

We have added some posts with post type "Video". The videos are added as youtube links to the posts. Everything works well on the posts themselfes.

But unfortunately there is a problem with the video preview thumbnails. These correctly have a play icon. If you click exactly on the icon, you get correctly redirected to the post. But if you click on the preview image, it wants to open the Youtube video in a new window. However, instead of the Youtube video, an error message appears:

Website will not allow Firefox to display the page if another site has embedded it

It would be easiest if clicking on the preview thumbnail also redirects to the actual post, not the youtube video. Is there any way to customize this? Now it's rather buggy than useful.

Thanks!

Want to join this conversation or access attachments? Sign in first.