2011-01-29 18 views
1

感謝您點擊!GD星級 - 大拇指向上/向下大小 - 幫助!

使用GD Star Rating Wordpress Plugin


我有一個非常艱難的時間試圖找出如何做一些簡單的調整評級按鈕。

我有一個圖像,我想用拇指向上/向下,但它的寬度是232px而不是默認的最大40px。

有沒有人完成調整大小/大拇指過去40px或我是世界上唯一一個這個問題?

任何幫助非常感謝!


簡單地說:

enter image description here

enter image description here

回答

0

新的圖像寬度爲232px,所以代碼應該是:

width:232px !important;height:232px !important; 

但你可以更具體的瞭解問題,您是有什麼? 新圖像被切斷?或者當您在瀏覽器上查看它時,是不是調整大小?

+0

我以爲他想縮小它。對? – andrewk 2011-01-31 05:48:08

1

如果您可以通過使用CSS做width:40px !important;height:40px !important;

comment->如果您粘貼鏈接到你的網站這將有助於。

0

我知道如何改變拇指的大小。

轉到:插件/ GD-星級評定/ CSS/gdsr.css.php線:183

你發現這一點:

echo sprintf(".gdt-size-%s.gdthumb, .gdt-size-%s.gdthumb a, .gdt-size-%s.gdthumb div { width: %spx; height: %spx; }\r\n", $size, $size, $size, $size, $size); 

改變它:

echo sprintf(".gdt-size-%s.gdthumb, .gdt-size-%s.gdthumb a, .gdt-size-%s.gdthumb div { width: 232px; height: 232px ; }\r\n", $size, $size, $size, $size, $size); 

更改:寬度和高度,然後更改圖像大小。