The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP-postratings image size (2 posts)

  1. mikekharisma
    Posted 3 years 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!



  2. Eek
    Posted 3 years 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