Home › Forums › Support › Blog list style – no image padding / video notice icon for video post type
- This topic has 9 replies, 2 voices, and was last updated 5 years, 4 months ago by
Tom.
-
AuthorPosts
-
January 25, 2017 at 12:45 am #268080
BarnaB
Hi Tom,
Any recommendations how to achieve this list layout?
(full 4:3 image no padding)
Also…if i set a post to video post type: how can it have a similar small indicator that it is a video in the blog list ?
Thank you
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 25, 2017 at 12:52 am #268087Tom
Lead DeveloperLead DeveloperHi Barna,
This should help: https://docs.generatepress.com/article/adjusting-the-featured-images/#removing-the-outside-padding-spacing
As for the video post format, this should help: https://generatepress.com/forums/topic/post-format-icons/#post-263775
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 25, 2017 at 12:59 am #268095BarnaB
Thanks Tom,
The issue there is that after setting it up using only -20px when you view it on a tablet or mobile the img hangs into the post title :/
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 25, 2017 at 1:01 am #268098Tom
Lead DeveloperLead DeveloperIf you’re using a different mobile padding option (like 20px instead of 40px), you would need to re-add the code into a media query and adjust the values:
@media (max-width: 768px) { /* The CSS added in here again with adjusted values */ }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 25, 2017 at 1:12 am #268109BarnaB
got it ! working properly now 🙂
Got the video icon to be placed on the video posts featured image too BUT i am not too sure why as soon as i switch it to video post type instead of the excerpt it loads the content too from the post into the blog list :/
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 25, 2017 at 1:13 am #268111Tom
Lead DeveloperLead DeveloperThe video post format shows the full content to allow videos to be displayed.
You can set the more tag on these pages to set a specific cut off point for the excerpt: https://docs.generatepress.com/article/using-the-more-tag/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 25, 2017 at 1:19 am #268114BarnaB
if it is set to other post types (picture, etc) it does the same.
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 25, 2017 at 1:20 am #268117Tom
Lead DeveloperLead DeveloperSame reason – those post formats require the full content in order to show what they’re meant for (videos, photos, audio etc..). If the excerpt was set, then no HTML would make it through meaning none of those elements would display.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 25, 2017 at 1:23 am #268121BarnaB
sorry…didnt get the your answer notification before my second was sent 🙂
ok fully understand it now! many thanks!
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 25, 2017 at 1:24 am #268123Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.