Change header and logo size on home page

I understand how to change the header and logo size in general.

.d-header #site-logo {
  max-height: 140px;
}
.d-header {
    height: 150px;
}

was used in the CSS section of admin. But I am wondering how to modify the size only on the home page.

Try to use this target in your css .navigation-topics .logo-big instead of .d-header #site-logo

2 « J'aime »

Salut Daniela, ce CSS ne semble pas non plus fonctionner pour moi pour modifier la taille du logo SVG dans la barre de navigation…

Cordialement,

Alex

C’est un sujet très ancien ; il existe désormais un composant de thème pour modifier la taille du logo de votre site,

3 « J'aime »

Salut Daniela, merci ! Pas de souci – j’ai trouvé. Voici le CSS pour toute autre personne qui en aurait besoin :

.logo-big {
  width:8vw!important;   
  min-width:100px;
}
2 « J'aime »