For a specific category we added the following CSS to adjust the size of the category logo. But the CSS is only applied when you access the category through a link, see here:
Contests - Forum | Cannabisanbauen.net (we run on 3.2 stable)
CSS (in Common):
/* Contest Kategorie - category image for each contest subcat */
body[class^="category-contests"] {
@supports (--custom: property) {
.category-logo.aspect-image {
--max-height: 250px;
}
.category-boxes .category-box .category-logo.aspect-image img, .category-boxes-with-topics .category-box .category-logo.aspect-image img {
--height: 250px;
}
}
}
But when coming from another page on the forum, the CSS isn’t “triggered” and category logos are still the default size.
To reproduce:
- go to https://forum.cannabisanbauen.net/
- Go to “Contests” category via sidebar or category picker
- Category logos are default size
is that a bug or should we implement the CSS differently?