首页 > 技术文章 > [wordpress] Easy Custom Auto Excerpt Options 插件头图样式修改

vanuan 2017-12-07 14:52 原文

Easy Custom Auto Excerpt Options 插件头图样式修改mark一下。

easy-custom-auto-excerpt.php 删除一下代码
if ( $options['image_width_type'] == 'manual' ) {
    $img_added_css .= "width:{$options['image_width']}px;";
}

style-frontend.css 删除.ecae-image img部分
.ecae-image a,.ecae-image img{
    width: inherit;
    height: inherit;
    max-width: 100%;
}

另外增加自定义样式在插件设置Additional CSS里添加
..ecae-link{
   border-color:#db1010 !important; 
   background:#db1010 !important;  
   color:#ffff88 !important;
}
.ecae-link span {
    font-size:12px !important
}
.ecae-image {
    padding:0px 0px 12px 0px !important;
}
.ngg-singlepic{
    padding:0px !important;
}
.ecae-link{
    border-style:none !important;
}
.ecae-image {
    width: none !important;
}
.ecae-image img {
    width: none !important;
    height: none !important;
    max-width: none !important;
}

推荐阅读