WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
WP-postratings image size (2 posts)

  1. mikekharisma
    Member
    Posted 1 year ago #

    I've implemented WP-postratings very successfully and made my own ratings images. The trouble is the the size of image I'd like to use within the widget/sidebar is somewhat smaller than that used on the posts? Either I end up with an image that looks too big in the sidebar or too small in the post.

    Is there anyway of making a different image appear in the widget for instance?

    Because the admin section addresses the images via short code, I can't directly force resize via CSS so am somewhat lost!

    regards
    Mike

    http://wordpress.org/extend/plugins/wp-postratings/

  2. Eek
    Member
    Posted 1 year ago #

    You can force via css using

    .widget .post-ratings img{width:10px !important;}

    Your widget should output the "widget" class, so including this css snippet, would overwrite only under the .widget class :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic