GD星级 - 大拇指向上/向下大小 - 帮助!
问题描述:
感谢您点击!GD星级 - 大拇指向上/向下大小 - 帮助!
使用GD Star Rating Wordpress Plugin。
我有一个非常艰难的时间试图找出如何做一些简单的调整评级按钮。
我有一个图像,我想用拇指向上/向下,但它的宽度是232px而不是默认的最大40px。
有没有人完成调整大小/大拇指过去40px或我是世界上唯一一个这个问题?
任何帮助非常感谢!
简单地说:
前
后
答
新的图像宽度为232px,所以代码应该是:
width:232px !important;height:232px !important;
但你可以更具体的了解问题,您是有什么? 新图像被切断?或者当您在浏览器上查看它时,是不是调整大小?
答
如果您可以通过使用CSS做width:40px !important;height:40px !important;
comment->如果您粘贴链接到你的网站这将有助于。
答
我知道如何改变拇指的大小。
转到:插件/ 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);
更改:宽度和高度,然后更改图像大小。
我以为他想缩小它。对? – andrewk 2011-01-31 05:48:08