Topic List Thumbnails

Hello,

Thumbnails with blog style mode do not appear with the Air theme (discourse-air) theme

The Thumbnails appear with Air Theme only with list mode selected.

When a choose the default Theme the Thumbnails with blog style appear.

1°/ Can someone explain me how to make Thumbnails with blog style work with Air Theme (discourse-air)please ?

2°/ How can I get more text under the thumbnail please, like this:
image

and not like this :
image

2 Likes

Hi,

  1. How to display all titles when using blog style mode ?
    topic list thumbnails

  2. How to choose different modes for desktop and mobile. For example, for desktop we use list mode and for mobile we use blog style mode.

Thank you very much for your help

1 Like

Hi,

  1. You can add this CSS in your theme or in component:
.topic-thumbnails-blog-style-grid {
  .main-link {
    .link-top-line {
      white-space: normal;
      overflow: auto;
    }
  }
}
  1. I don’t think you can do that out of the box – that’s a cool idea, though :+1:
5 Likes

A post was split to a new topic: Blog-style layout affects Tooltips

Another issue with the air theme (list view) is that the thumbnail doesn’t take all the vertical space in the list entry:
image

1 Like

found a bug with grid view
image
inside this topic:

This plugin theme component is absolutely incredible and has transformed the way our blog and marketplace look.

For the blog style categories option, is there any way to change the default # of topics width from two topics to 3 or 4?

2 Likes

Just to note, this is a theme-component rather than a plugin

2 Likes

Force of habit!

2 Likes

In addition to this, I’d be curious to know if we could adjust the images so they aren’t cropped off at the top:
image

1 Like

Previously I saw the insert link thumbnail image default option but now I don’t see it anymore. If that topic does not post any photos, the default thumbnail from the link will be displayed.

Or if the topic does not have an image, only the text should be displayed without any spaces.

2 Likes

Im curious if we can play the video on the thumbnail without opening the topic?

Try switching to Topic Cards theme-component

Also using Air Theme.

1 Like

Update: This issue seems to be due to Cloudflare minification (html, css, js), disabling that and clearing the cache fixed these issues.

// Original post:

Hi @david @Discourse

Just a heads up, default thumbnail mode appears to not work anymore with Discourse Stable 3.3.0.

List view will show for all cases regardless of what has been set, unless you use an override setting - but that only will apply for specific categories, making it impossible to use e.g. masonry or grid on the home page.

It was working as expected prior to upgrading from 3.2.x to 3.3.0 and has been observed on multiple instances.

3 Likes

Just noticed this… hopefully it can be fixed sooner than later. This is a fantastic add-on.

1 Like

so far my experience with this component is great, but one feature I really wish to have is choose the cover thumbnail even it’s not the first image, or choose the cover image without showing in the topic, will this be difficult to approach?

2 Likes

This is possible :tada:

I think a solution to hide the image in the post was suggested here:

6 Likes

I tried and it works, the bbcode wrapper is exactly what I need, thank you so much

4 Likes

Has anyone been able to display a thumbnail in conjunction with WP Discourse Wordpress plugin? Since any images as well as the featured images are displayed via img tag in the first post imported from WP, it cannot be used as thumbnail.

Is there any workaround for this? Since we frequently update our WP Posts, we would like to find some solution here.

3 Likes

Not sure if this would work. But this Theme component might work maybe as an alternative.

1 Like