Support » Plugin: Rate my Post - WP Post Rating » Hide Vote count CSS

  • Hello,

    Thanks for the great plugin.. I am facing couple of issues

    1. I have added the shortcode to a post and when I refresh the post, for 1 second I see the stars showing vertically and then it corrects itself and stars will be aligned horizontally..how can I fix this issue?
    2. I would like to show average rating, but do not want to show vote count.how can I achieve that?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Blaz K.

    (@blazk)

    Hi @telugubulletin,

    to only show average rating you can put something like “Average rating is {{avgrating}}” in the Customize -> Custom Results Text. As for the first, it’s probably because your theme applies such style to ul first and then it’s overwritten by the plugin. You could try fixing that by applying the style in the head of your website.

    Regards,
    Blaz

    Blaz,

    Thanks for the reply.. but that did not resolve my issue

    when i am in wp-admin then I see the stars aligned horizontally and I am able to rate stars. as soon as i logout of wp-admin, the stars are aligned verticaly and I am not able to rate stars..

    regarding applying the style.. what style should i apply in the head of the website.. please guide with any css or style

    Plugin Author Blaz K.

    (@blazk)

    @telugubulletin,

    please share the link to the website with me and I’ll check it out.

    Regards,
    Blaz

    Plugin Author Blaz K.

    (@blazk)

    @telugubulletin,

    have you cleared the cache after installing the plugin? The plugin’s js and css is not loaded and if all works fine when you are logged in it might very well be an issue with cache (you probably have “don’t cache for logged in users” enabled). So, clear cache and if the problem persists I’ll have a look 🙂

    Regards,
    Blaz

    Hi Blaz,

    we have enable caching for logged in users checked on ( I have also tried unchecking it and clearing the cache)..I cleared cache, but still I have the same problem

    Plugin Author Blaz K.

    (@blazk)

    @telugubulletin,

    I just checked and it seems to work fine now 🙂

    Blaz

    Hi Blaz,

    Yes its working.. but if you hit hard refresh on the page, you will see the stars are aligned vertically for one sec and then become horizontal.. how can I fix that?

    https://wordpress-231546-988956.cloudwaysapps.com/test-2-2-18605

    telugubulletin

    (@telugubulletin)

    https://wordpress-231546-988956.cloudwaysapps.com/test-2-2-18605

    Also, the vertical stars issue is still not resolved..when I logout of wp-admin, I see stars aligned vertically.. I need them horizontal.. please help

    Is there an email where I can send you my login details?

    Plugin Author Blaz K.

    (@blazk)

    @telugubulletin,

    the plugin’s JS and CSS are not loaded so the first thing to do is figure out what is interfering with the plugin. For starters try disabling other plugins until you figure out the cause.

    Regards,
    Blaz

    telugubulletin

    (@telugubulletin)

    Thanks for the tip.. Looks like Tablepress plugin is doing it. I deactivated it and now the stars look horizontal. But when you refresh (please refresh atleast 2-3 times) the link the stars show vertical for a split second and then they become horizontal.. how can I fix that?

    https://wordpress-231546-988956.cloudwaysapps.com/test-2-2-18605

    Plugin Author Blaz K.

    (@blazk)

    @telugubulletin,

    maybe something like this will help:

    
    function add_style_to_head() {
        echo '
        <style type="text/css">
        .rating-stars ul > li.star {
          display: inline-block!important;
        }
        </style>';
    }
    
    add_action( 'wp_head', 'add_style_to_head' );
    

    So that the style gets printed before other styles.

    Regards,
    Blaz

    telugubulletin

    (@telugubulletin)

    Thanks Blaz,

    I did add the code in the header and it did fix the vertical star alignment issue.. but now the horizontal stars show with heavy padding between them for a split second and it becomes normal..Please refresh below page

    https://wordpress-231546-988956.cloudwaysapps.com/test-2-2-18605

    on a side note. ratemypost is not compatible with tablepress then? when i use ratemypost shortcode in table press it doesnt work looks like..how can I solve this issue?

    telugubulletin

    (@telugubulletin)

    Appreciate your help on the above question.. thanks

    Plugin Author Blaz K.

    (@blazk)

    @telugubulletin,

    Rate my Post and Tablepress are compatible. Compatible means that they don’t interfere with each other if they are both present on the website. Including the shortcode into Tablepress plugin hasn’t been tested, and to be honest I don’t understand why would you put the shortcode there 🙂

    As for the “horizontal stars show with heavy padding between them for a split second” issue, you can fix it the same way as the star alignment – with custom CSS. If you have trouble with that, I recommend hiring a web developer. Sorry but, these small styling issues that are specific to your website are beyond the scope of support for this free plugin 🙂

    Blaz

    • This reply was modified 1 month ago by Blaz K..
    • This reply was modified 1 month ago by Blaz K..
Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.