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 个赞

嘿,Daniela,这个 CSS 对我来说似乎也无法用来更改导航栏中 SVG 徽标的大小……

祝好,

Alex

这是一个非常旧的话题,现在有一个主题组件可以更改您网站的徽标大小,

3 个赞

你好,Daniela,谢谢!没关系——我解决了。这是给其他需要的人的 CSS 代码:

.logo-big {
  width:8vw!important;   
  min-width:100px;
}
2 个赞