Tagged: x
-
AuthorPosts
-
April 12, 2016 at 1:29 am #877728
ourmalaParticipantHello,
When I post a video post to the grid it will not let us click through to the post, instead playing the video directly within the grid.
Is there a way to set a video as the ‘featured image’ for the grid that clicks through to the post, but only have it play once someone is within the post page itself?
Currently have loaded screenshots of the video as the ‘featured image’, which as you can see loads on the post page also and leaves us with two lots of media when it would be preferable to have just the video itself.
News, essential grid page – http://www.ourmala.com/news/
Post with video – http://www.ourmala.com/something-inside-so-strong/ or http://www.ourmala.com/friday-message-this-is-what-post-yoga-looks-like/Thank you!
April 12, 2016 at 8:49 am #878309
JackKeymasterHi there @ourmala,
Thanks for writing in!
Could you post some wp-admin login details in a private reply please, so we can test this live on your site, as I do see the double media issue with if you set a featured image.
We’re here to help. 🙂
Thanks!
April 12, 2016 at 10:22 pm #879297
ourmalaParticipantThis reply has been marked as private.April 13, 2016 at 7:55 am #879927
JackKeymasterHi there @ourmala,
Thanks for providing the details, after further checks I do indeed see the same issue, it appears Essential Grid doesn’t allow the linking of a video to a post, without having the image set as the main item in the Grid.
One way around this would be adding all those posts to a specific category, (the video based ones), then we can use the category class and the .entry-featured class with a display none to hide the featured image on the post itself, if that would work for you?
Thanks!
April 18, 2016 at 8:39 pm #889136
ourmalaParticipantYes please. Whatever you think works best! Would you like to go ahead and make the changes or let me know what to do. Happy to go with the category ‘video’ for video based posts if that works?
April 19, 2016 at 7:20 am #889887
JackKeymasterHi there @ourmala,
Thanks for writing back!
Ok here are the steps to take and then we can provide some custom code:
1: Keep the settings as you currently have them with the featured image
2: Make sure all the posts that are videos all share at least one category, for example “videos”.
3: Then add the following CSS under appearance > custom > custom > CSS:
.category-videos .entry-featured { display: none !important; }That should hide the featured image on those video posts on click through. 🙂
Let us know if you have any problems, we’re here to help.
Thanks!
April 23, 2016 at 10:03 pm #897092
ourmalaParticipantThank you Jack. I did as you mentioned but it still seems to load both. Where to from here?
http://www.ourmala.com/something-inside-so-strong/
http://www.ourmala.com/friday-message-this-is-what-post-yoga-looks-like/April 24, 2016 at 9:27 pm #897979
Rue NelModeratorHello There,
Please update the css code and use this instead:
.category-video .entry-featured { display: none !important; }Please let us know if this works out for you.
April 26, 2016 at 7:31 pm #901222
ourmalaParticipantIt worked! Thank you so much.
April 27, 2016 at 8:56 am #902194
JackKeymasterYou’re most welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-877728 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
