Piastrelle in evidenza

I first want to say thank you for this amazing component. It has taken our forum up a few notches visually and a brilliant way to revive old threads without the need for staff to bump them to keep them fixable.

I have a question though and I may be missing a simple solution to this, but is it possible to remove the OPs avatar from the tile… Or preferably just remove the clickablility of the OPs avatar?

Thank you for this David, I am trying to get display-on-categories and scope-to-category working but I can only get the featured tiles to display on Latest and Categories home page, not the individual categories. Any idea what I’m doing wrong here, below are my settings. I have tried this with all other TC’s disabled and in safe mode with unofficial plugins disabled. I don’t see anything in the console or logs related to this.

Settings screenshot

Also, is there any way to add spacing between the images?

1 Mi Piace

IS there a wat to show 4 tiles in desktop and just 1 or 2 on mobile? It doesn’t look so good on it. Thanks!

Do you have editors-pick topics in every individual category?

You could do this using CSS, yes. Something like

.featured-tiles-container {
    gap: 1em;
}

This could also be done with CSS. To hide the 3rd, 4th and 5th square on mobile, you could do something like:

.mobile-view .featured-tiles-container > .featured-tile:nth-child(2) ~ .featured-tile {
    display: none;
}
3 Mi Piace

Yes, I even tried setting it to only one category where the tag is used and it does not show up in that category. I tried different tags that are not part of tag groups, a category without restricted tags, but nothing seems to work. I also tried another site I have that is much simpler, doesn’t have TLP installed, etc. and it doesn’t work there either, even tried featuring a category rather than a tag, still doesn’t show up in any categories.

This works perfectly in firefox and chrome, but not safari. Any other ideas?

Also, a small feature request to have a title for the featured images, because how are people supposed to know what these images are? I know, I know, submit a PR, but trust me you wouldn’t want me to :grin: Just something like this:

1 Mi Piace

Same here. I’m trying out the component on a new instance, so there’s not much else to disable. The featured tiles only show on Latest and Categories.

2 Mi Piace

Hey @david

In my tests for some existing topics the image is not appearing. I am running on latest test-passed.
What I tried so far:

  • put the image into the first line of the first post
  • renew HTML of the first post
  • removing and re-adding the featured tag
  • issue persists in theme preview as well

Any ideas?

I have this exact same issue. Were you able to fix it?

Any reason why this does not show on category pages even tho the option for it is ticked?

1 Mi Piace

Ho lo stesso problema: non viene visualizzato nelle pagine di categoria, anche quando è l’unico componente attivo. Puoi aiutarmi @david?

1 Mi Piace

Ho apportato un aggiornamento che dovrebbe risolvere questo problema per le pagine di categoria; provalo!

5 Mi Piace

Funziona Kris, sei fantastico!

1 Mi Piace

Qualcuno ha un’idea su come inserire del testo sopra questo componente o sotto .list-controls? Ho davvero bisogno di testo sopra per spiegare cosa sono queste immagini. La linea rossa nell’immagine qui sotto è dove ne ho bisogno. Grazie!

Per una soluzione rapida puoi sempre usare i selettori before o after per inserire contenuti sul tuo sito. Ad esempio:

.featured-tiles::before {
  content: "Ciao";
}
1 Mi Piace

Grazie Nolo, per ora andrà bene! Sarebbe bello aggiungere un URL, ma questo sarà sufficiente. Grazie per il tuo aiuto.

1 Mi Piace

Un sito MERAVIGLIOSO, @davidkingham!!! Stupendo!!!

1 Mi Piace

Sembra davvero bello… quando funziona.
Sul nostro sito Cloud Discourse funziona solo se si seleziona un solo tag. Mostra una riga vuota nel banner se vengono selezionati più tag.

Aggiornamento: a volte le immagini non vengono mostrate nella pagina principale, ma andare alla categoria con gli argomenti contrassegnati con il tag selezionato aiuta. Tornando alla pagina principale, le immagini vengono mostrate nel banner.

Qualcun altro può provare e confermare?

1 Mi Piace


Sì, ho lo stesso problema. Quelli senza immagini non hanno nemmeno il tag ‘in primo piano’

Richiesta di funzionalità

EDiT sembra funzionare come descrivo. :man_facepalming:

Tuttavia, sul tema Air è vuoto come sotto. Cosa sto sbagliando? Posso inviarti il link del sito se necessario.

Ho 2 argomenti con immagini nel primo post dell’OP. Le immagini sono all’inizio del post.

Ho recentemente installato il tuo componente tema e ho pensato che sarebbe stato fantastico se avessi aggiunto queste 2 funzionalità

  1. Pulsanti Avanti e Indietro
    Ho fatto riferimento a questo codice ma non so come aggiungerlo alle tue personalizzazioni

https://stackoverflow.com/questions/65833297/add-prev-next-buttons-to-scroll-container-with-css-and-jquery

  1. Consenti il caricamento di contenuti aggiuntivi dopo che l’utente ha visualizzato tutte le notizie precedenti

Ciò aiuta gli utenti ad avere un’esperienza ottimale sia su desktop che su mobile e allo stesso tempo a familiarizzare con le storie delle applicazioni sui social network, inoltre vedo molti articoli in cui Google è attualmente molto interessato ai contenuti delle storie.

Questa è la mia personalizzazione su desktop e mobile


Visualizza su https://businesslab.vn

3 Mi Piace