• Hello,

    I use the code `<?php gdrts_posts_render_rating(
    array(‘echo’ => true),
    array(‘template’ => ‘default’)
    ); ?>` on my site to display the block, all is good but i want to displays him on the right of my post?

    Please, I search for two hours and I’m tired, what is the line added to show the block to the right !!

Viewing 1 replies (of 1 total)
  • Plugin Author Milan Petrovic

    (@gdragon)

    Well, this depends on your theme, plugin can’t center or position block because it depends in which container it is, and if you use images or font for stars. You need to add CSS to align the block for your theme specifically.

    Depending on your theme, you can try to set alignment to ‘.gdrts-inner-wrapper’ class with text-align property, but only if you are using font icons for stars:

    .gdrts-inner-wrapper { text-align: center; }

    If that doesn’t work, you need to figure out the way to do it for your theme.

    Milan

Viewing 1 replies (of 1 total)
  • The topic ‘Easy question : code to center the block’ is closed to new replies.