I think this is a great component!
I admit I had spent two or three days attempting to learn to create a theme component to do exactly what this component does. I don’t feel that was wasted time because I learned a lot but I do wish I had followed ask.discourse’s advice sooner and checked out this component.
One thing I can’t figure out
I like the card layout but would like to show a thumbnail and an excerpt in the card layout. Any clues would be appreciated
Instead I’ve landed on the list layout but wanted to change a few things. I’ve added them to my common.css tab. Maybe this will help someone else
to remove the topic tag
.featured-topics__topic-tag {
display: none;
}
to remove the author avatar
.featured-topics__wrapper .topic-author {
display: none;
}
to remove the category link
.featured-topics__wrapper .category-link {
display: none;
}
Edit to add:
I’ll leave the original post above intact but I wanted to add
how to make excerpt show in card view
.featured-topics__topic-container.thumbnail .topic-excerpt {
display: contents;
}
Also, I’ve come to like the list view layout on desktop better then the card layout but it looks horrible on mobile. The thumbnail is on the left and the title and except is in a narrow column on the right. I haven’t figured out how to make the text wrap around the thumbnail or stack everything in a single column.
Since I figured out how to get the thumbnail and excerpt to show in card layout which looks decent on mobile, I’ve switched to that layout because I suspect most users are viewing the site on a phone