Title: Center rating using shortcode
Last modified: August 22, 2016

---

# Center rating using shortcode

 *  [RaskClarck](https://wordpress.org/support/users/raskclarck/)
 * (@raskclarck)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/)
 * Hi Guys,
 * Based on how my theme is build I have to use the shortcode to enter the ratings
   where I want them to appear. But it seem that I’m not able to center the ratings
   as they appear left alligned no matter what I do. Is that me doing it wrong or
   is not possible to center the ratings when adding them manually with the shortcode?
 * Just trying out the plugin before purchasing the pro to get the rich snippets
   and besides my center issue it seems like a great plugin.
 * Hope you can help.
 * Best Regards
    -Rasmus
 * [https://wordpress.org/plugins/rating-widget/](https://wordpress.org/plugins/rating-widget/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [RatingWidget](https://wordpress.org/support/users/ratingwidget/)
 * (@ratingwidget)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399873)
 * Hi [@rasmus](https://wordpress.org/support/users/rasmus/),
 * Thanks for trying RatingWidget. Centering the ratings should not be a problem.
   Just wrap it with a <div style=”text-align: center;”> element, and it should 
   work.
 * Let us know if that worked, and if not, please share your page’s link so we can
   check it.
 *  Thread Starter [RaskClarck](https://wordpress.org/support/users/raskclarck/)
 * (@raskclarck)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399882)
 * Hi,
 * Thanks allot, worked like a charm, don’t know what i was thinking, but it was
   not using a div..!
 * Another thing that i just realised, I’m using the same shortcode on two different
   pages but the rating seems to be the same as well. Should it not be possible 
   to have individual raings for each page?
 * You can see the two pages here:
 * [http://gettingmarriedindenmark.com/](http://gettingmarriedindenmark.com/)
 * [http://gettingmarriedindenmark.com/marriage-in-denmark/](http://gettingmarriedindenmark.com/marriage-in-denmark/)
 * Your help is much appreciated!
 * Best Regards,
    Rasmus
 *  Plugin Author [Vova Feldman](https://wordpress.org/support/users/svovaf/)
 * (@svovaf)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399942)
 * Hi [@raskclarck](https://wordpress.org/support/users/raskclarck/), can you please
   share the exact code you’ve been using for the shortcode?
 *  Thread Starter [RaskClarck](https://wordpress.org/support/users/raskclarck/)
 * (@raskclarck)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399945)
 * Hi Vova,
 * I used this one [ratingwidget type=”page”] found on your FAQ
 * A side question, I have now purchased the professional plugin and through your
   FAQ I can see that i have to configure the rich-snippet ratings for Google SERP
   but I cant seem to find any info on how to configure it?
 * Thank you for you help Vova.
 * -Rasmus
 *  Thread Starter [RaskClarck](https://wordpress.org/support/users/raskclarck/)
 * (@raskclarck)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399985)
 * Hi [@vova](https://wordpress.org/support/users/vova/),
 * Would be great with your input on this one?
 * -Rasmus
 *  Plugin Author [Vova Feldman](https://wordpress.org/support/users/svovaf/)
 * (@svovaf)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399987)
 * Hi [@raskclarck](https://wordpress.org/support/users/raskclarck/),
 * 1. I would recommend specifying the page ID within the shortcode:
    `[ratingwidget
   type="page" post_id="12"]`
 * 2. There’s nothing you have to do, once your account is upgraded the Rich-Snippets
   will be auto-activated.
 *  Thread Starter [RaskClarck](https://wordpress.org/support/users/raskclarck/)
 * (@raskclarck)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399989)
 * Hi Vova,
 * Thank you for you answer.
 * I checked with the google checker and it seems that the rich snippets is not 
   included when using the short code. But only when using the auto added ratings.
 * Is that correct?
 * – Rasmus

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Center rating using shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rating-widget_4db0e0.svg)
 * [Rating-Widget: Star Review System](https://wordpress.org/plugins/rating-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rating-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rating-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/rating-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rating-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rating-widget/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [RaskClarck](https://wordpress.org/support/users/raskclarck/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/center-rating-using-shortcode/#post-5399989)
 * Status: not resolved