I’m not sure what you’re trying to achieve, but if you just want to make the logo bigger / smaller then here’s something to get you started.
The category logo is used in a couple of places by default - on the categories page and on specific category pages.
If you want to modify the logo sizes in both those locations, you can use this
@supports (--custom: property) {
.category-logo.aspect-image {
--max-height: 200px; // change 200 to the desired height
}
}
Once you change the--max-height variable, the width should adjust automatically.
If you want to something more specific, like changing the logo sizes on the categories page only, then please check the desktop_category_page_style site setting on your site and let me know what it’s set to.
If you want the change to only occur on desktop, then add the CSS above to the desktop CSS tab of your theme. If you want it to only occur on mobile then add it to the mobile CSS tab. If you want it to occur on both mobile and desktop, then add it to the common CSS tab.
Hmm, tentei alterar o --max-height como você sugeriu e, embora essa parte seja atualizada no inspetor, a imagem permanece do mesmo tamanho.
Notei no inspetor que o valor --aspect-ratio não parece estar definido (não há um link clicável no Chrome para o valor) e não consigo descobrir onde ele pode estar definido. Procurei no código do Discourse GitHub, mas ainda não o encontrei.
Alguma ideia de como posso encontrar onde o --aspect-ratio está sendo definido ou qual valor devo definir para ele?