Title: Centre message
Last modified: August 21, 2016

---

# Centre message

 *  [sean_b](https://wordpress.org/support/users/sean_b/)
 * (@sean_b)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/centre-message/)
 * Is there any way to centre the message within the broswer window instead of having
   it at the top?
 * I could adjust the top margin to bring it down, but would rather it was dead 
   centre if possible.
 * [http://wordpress.org/plugins/wp-ajaxify-comments/](http://wordpress.org/plugins/wp-ajaxify-comments/)

Viewing 1 replies (of 1 total)

 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/centre-message/#post-3966101)
 * Hi
 * you can try to add the following styles to your theme:
 *     ```
       div.blockUI  {
         top: 50% !important;
         height:20px !important;
         margin-top:-15px !important;
       }
       ```
   
 * This centers the message popup vertically. Please note that you have to set the
   correct calculated value for margin-top. It needs to be (the height + the bottom
   padding + the top padding) / 2 and bottom/top padding is 5px by default.
    Maybe
   I will add built-in support for vertical alignment in one of the next versions.
 * Hope this helps…

Viewing 1 replies (of 1 total)

The topic ‘Centre message’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [janjonas](https://wordpress.org/support/users/janjonas/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/centre-message/#post-3966101)
 * Status: not resolved