0

我已经在我的 Tumblr 博客上实现了该小部件,并尝试将小部件中的链接更改为蓝色,但到目前为止还没有运气。这是他们促进的代码:

博客链接:http ://eduardo-mateos.tumblr.com/

<div class="socialstatistics-widget" data-id="xxxxxxxxxx"></div><script>(function(d,t){var b=d.createElement(t),c=d.getElementsByTagName(t)[0];b.async=b.src="http://socialstatistics.com/widget/widget.min.js";c.parentNode.insertBefore(b,c);})(document,'script');</script>
4

2 回答 2

0
#socialstatisticswidget a:link, .socialstatisticswidgetrow a:link, #socialstatisticswidget a:visited, .socialstatisticswidgetrow a:visited, #socialstatisticswidget a:active, .socialstatisticswidgetrow a:active {
    color: #FF0000 !important;
}

那一个应该工作。我在小部件中找到了它,你应该在你的文件中重写这个 css。

于 2011-08-10T07:10:03.747 回答
0

尝试插入类似的东西

.socialstatistics-widget a {
 color:#FF0000 !important;
}

在您的 CSS 文件或样式标记中,其中 FF0000 是您的自定义颜色。

于 2011-08-08T13:03:40.417 回答