Azulejos em Destaque

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 curtida

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 curtidas

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 curtida

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 curtidas

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 curtida

Eu tenho o mesmo problema: não aparece nas páginas de categoria, mesmo quando é o único componente ativo. Você pode ajudar, @david?

1 curtida

Fiz uma atualização que deve corrigir isso para as páginas de categoria; experimente!

5 curtidas

Funciona Kris, você arrasa!

1 curtida

Alguém tem alguma ideia de como inserir texto acima deste componente ou abaixo de .list-controls? Eu realmente preciso de texto acima para explicar o que são essas imagens. A linha vermelha na imagem abaixo é onde eu preciso. Obrigado!

Para uma solução rápida, você sempre pode usar os seletores before ou after para inserir conteúdo em seu site. Ex:\n\n.featured-tiles::before {\n content: \"Olá\";\n}\n

1 curtida

Obrigado Nolo, isso funcionará por enquanto! Seria bom adicionar uma URL lá, mas isso será suficiente. Obrigado pela sua ajuda.

1 curtida

Um site DESLUMBRANTE, @davidkingham!!! Deslumbrante!!!

1 curtida

Isso parece muito bom… quando funciona.
Em nosso site Cloud Discourse, ele só funciona se você selecionar apenas uma tag. Ele mostra uma linha de banner vazia se mais de uma tag for selecionada.

Atualização: às vezes, as imagens não são mostradas na página principal, mas ir para a categoria com tópicos marcados com a tag selecionada ajuda. Retornar à página principal mostra as imagens no banner.

Mais alguém pode tentar e confirmar?

1 curtida


Sim, estou tendo o mesmo problema. Aqueles sem imagens nem sequer têm a tag ‘destacado’

Ideia de solicitação de recurso

EDiT parece que deve funcionar como descrevo. :man_facepalming:

No entanto, no tema Air, fica em branco como abaixo. O que estou fazendo de errado? Posso, se necessário, enviar o link do seu site por DM.

Tenho 2 tópicos com imagens na primeira postagem do OP. As imagens estão primeiro na postagem.

Instalei recentemente seu componente de tema e pensei que seria ótimo se você adicionasse estes 2 recursos

  1. Botão Próximo e anterior
    Eu me referi a este código, mas não sei como adicioná-lo às suas personalizações

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

  1. Permitir o carregamento de conteúdo adicional depois que o usuário visualizou todas as notícias anteriores

Isso ajuda os usuários a ter uma experiência ideal em desktop e mobile e, ao mesmo tempo, se familiarizar com os aplicativos de stories em redes sociais, além de eu ver muitos artigos onde o Google está atualmente muito interessado em conteúdo de stories.

Esta é minha customização em desktop e mobile


Veja em https://businesslab.vn

3 curtidas