无法更改自定义链接菜单的字体大小



我已经创建了一个定制菜单,名为Sandusky,无需使用CSS类。它与家庭,画廊,商店,接触式接触是导航菜单的一致。我想自定义Sandusky,我能够更改颜色和字体,但是我无法增加或使其更大,导航菜单的尺寸也一样。

以下是我使用的代码。

.no-hover a:link {
  color: none !important;
  font-size: 50px;
}
.no-hover a:visited {
  color: none !important;
}
.no-hover a:hover {
  background-color: transparent !important;
}
.no-hover a:active {
  color: none !important;
}
.no-hover {
  position: absolute;
  left: -70px;
  font-family: lucida handwriting;
  font-weight: bold;
  font-style: italic;
}
<li id="menu-item-815" class="no-hover menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-815"><a href="link">SANDUSKY</a></li>

font-size: 14px;&amp;font-size: 16px;我在以下代码

中更改了这两个字体大小

.no-hover a:link {
  color: blue !important;
  font-size: 150px;
}
.no-hover a:visited{
  color: none !important; 
}
.no-hover a:hover {
  background-color: transparent !important;  
}
.no-hover a:active{
  color:  none !important;
  font-size: 130px;
}
.no-hover {
  position: absolute; 
  left: -100px;
  font-family: lucida handwriting;
  font-weight: bold;
  font-style: italic;
  font-size: 50px!important;
}
<li id="menu-item-815" class="no-hover menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-815"><a href="#">SANDUSKY</a></li>

最新更新