【发布时间】:2014-07-08 17:47:35
【问题描述】:
我正在尝试删除 AddToAny Wordpress 插件的默认背景图像图标。正如您在下面的 URL 中看到的,蓝色图标希望被黑色齿轮取代。问题是蓝色图标是由内联样式引入的,插件中有一个 !important 声明。 :(
他们的内联代码:
.a2a_dd.addtoany_share_save {
background: url(http://www.dlillianphotography.com/staging/wp-content/plugins/add-to-any/favicon.png) no-repeat scroll 4px 0px !important;
}
我的代码,希望嵌套/层次结构会有所帮助:
.social .row:first-of-type .addtoany_list .a2a_dd.addtoany_share_save {
background: #fff !important;
}
感谢您的阅读。
【问题讨论】: