Menu Close

WordPress修改侧边栏的字体大小

在菜单“外观>>自定义>>额外CSS”中添加如下代码:

body {
font-size: 0.8rem;
}

/* Widgets */

.widget-area {
 font-size: 12px;
}
.widget {
 clear: both;
 margin: 0 0 2.2em;
}
.widget-title {
 color: #666;
 font-size: 10px;
 font-weight: 500;
 letter-spacing: 0.1em;
 line-height: 2.6em;
 text-transform: uppercase;
}
.widget ul {
 font-size: 15px;
 margin: 0;
}
.widget ul ul {
 margin-left: 1.5em;
}
.widget ul li {
 color: #777;
 font-size: 13px;
}
.widget a {
 font-weight: bold;
 text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
 text-decoration: underline;
}