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

次のようなものを挿入してみてください

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

CSSファイルまたはスタイルタグ内。FF0000はカスタムカラーです。

于 2011-08-08T13:03:40.417 に答える
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 に答える