Title: % Comments Margin
Last modified: August 22, 2016

---

# % Comments Margin

 *  [Uendi](https://wordpress.org/support/users/uendi/)
 * (@uendi)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/comments-margin/)
 * Hi
 * I have added this Comments to most of my webpage :
 * > <span class=”comments-link”><?php comments_popup_link( __( ‘Leave a comment’,‘
   > xxx’ ), __( ‘1 Comment’, ‘xxx’ ), __( ‘% Comments’, ‘xxx’ ) ); ?></span>
 * However, I notice that whenever it converts from english to another languages(
   translation), the margin-top/bottom will be different. Is there any way to fix
   it ?
 * Thanks.
 * [https://wordpress.org/plugins/posts-in-page/](https://wordpress.org/plugins/posts-in-page/)

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

 *  Plugin Contributor [Patrick Jackson](https://wordpress.org/support/users/pjackson1972/)
 * (@pjackson1972)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/comments-margin/#post-5335986)
 * Hi Uendi,
 * My understanding is that you’re publishing the same page in different languages,
   right?
 * The only way I can think of to handle that would be to add adjustments to your
   [CSS](http://codex.wordpress.org/CSS) for the languages that need them.
 * Have you checked to see if your `<body>` tag includes a language class? If not,
   I _think_ you can add it using the [`get_bloginfo()`](http://codex.wordpress.org/Function_Reference/get_bloginfo)
   function. Once you get the language class in your body tag, you can use that 
   to customize the styling based on the language.
 * [Here’s](https://wordpress.org/support/topic/plugin-polylang-set-body-class-depending-on-language?replies=4)
   a discussion about one way to do that.
 * Does that help any? Let me know if need more help with how to add the function
   and edit your css.
 * To help more, I’ll probably need a link to your page and more information about
   how you’re handling the translation (for example, are you using a plugin?).
 *  Thread Starter [Uendi](https://wordpress.org/support/users/uendi/)
 * (@uendi)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/comments-margin/#post-5335990)
 * Yes I am using a plugin.
 * My page is [http://uendi.com/products/fashion-and-clothing/unisex-clothing-and-accessories/](http://uendi.com/products/fashion-and-clothing/unisex-clothing-and-accessories/)
 *  Plugin Contributor [Patrick Jackson](https://wordpress.org/support/users/pjackson1972/)
 * (@pjackson1972)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/comments-margin/#post-5336045)
 * It doesn’t look like the plugin is setting a class when you switch languages.
   That’s the only way I can think of to customize your styling based on the language.
 * I’m not sure which plugin you’re using, but I think the best advice I can give
   you is to either work with the plugin developer to add the classes, or try a 
   different language plugin that sets a language class.
 * If you need to use _that_ plugin and can’t get it to work, then you’ll probably
   need to do some development work to detect which language is selected, and add
   a class to the body tag. That’s pretty advanced, so you may need to hire a developer
   for that.

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

The topic ‘% Comments Margin’ is closed to new replies.

 * ![](https://ps.w.org/posts-in-page/assets/icon-256x256.png?rev=1596190)
 * [Posts in Page](https://wordpress.org/plugins/posts-in-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-in-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-in-page/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-in-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-in-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-in-page/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Patrick Jackson](https://wordpress.org/support/users/pjackson1972/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/comments-margin/#post-5336045)
 * Status: not resolved