2011-08-08 74 views
0

我已經在我的Tumblr博客上實現了該小部件,並嘗試更改小部件中的鏈接藍色,但目前爲止沒有運氣。這是他們便於代碼:更改socialstatistics-widget上的鏈接顏色

鏈接到博客: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> 

回答

0

嘗試插入類似

.socialstatistics-widget a { 
color:#FF0000 !important; 
} 
在你的CSS文件

,或者風格標籤,其中FF0000是您的自定義顏色。

+0

不,已經嘗試過,沒有運氣。這裏有一個鏈接,以便它可以幫助更好:http://eduardo-mateos.tumblr.com/ – edu

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

這一個應該工作。我發現它正好在小部件中,你應該在你的文件中重寫這個css。