我正在使用SharePoint 2013.我已经改变了站点设置的默认徽标。现在我看到SharePoint已经调整了我的徽标,它很小。我想让它变得更大。我需要做些什么来使它更大?我尝试将此CSS添加到我的自定义CSS中,但没有帮助。徽标现在更大,但左键快速启动菜单和第一个顶级WebPart区域正在覆盖我的徽标。

.ms-siteicon-img {

max-width: none !important;

max-height: none !important;

width: 308px !important;

height: 154px !important;

}


 .ms-siteicon-a {

max-width: none !important;

max-height: none !important;

width: 308px !important;

height: 154px !important;


}
.

有帮助吗?

解决方案

一旦更改SiteICON的图像的CSS,您也必须调整少量其他CSS。

div#s4-titlerow {
    height: auto;
    overflow: hidden;
    padding: 0;
}

div#siteIcon {
    height: 154px;
    line-height: 154px;
    min-width: 308px;
}

div#titleAreaBox {
    margin: 5px 20px;
}

a.ms-siteicon-a {
    display: inline-block;
    max-height: 154px;
    max-width: 308px;
}

a.ms-siteicon-a > img {
    height: 154px;
    width: 308px;
}
.

许可以下: CC-BY-SA归因
scroll top