Title: Post Date cannot be centered
Last modified: August 22, 2016

---

# Post Date cannot be centered

 *  [Suheiry](https://wordpress.org/support/users/suheiry/)
 * (@suheiry)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/)
 * In the customization part, when I select to center the post date, it doesn’t 
   move it.

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

 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610066)
 * Hey there Suheiry,
 * You could center the post date by adding some custom CSS. Since there is a custom
   CSS tab in the theme you can add this code there. It is located in Appearance
   >> Customize >> Themify Options >> Custom CSS.
 *     ```
       .post-date {
       display: block;
       width: 90px;
       margin-left: auto;
       margin-right: auto;
       }
       ```
   
 * This should center the post date. Hope this helps 🙂
 * Best regards,
    Bojan
 *  Thread Starter [Suheiry](https://wordpress.org/support/users/suheiry/)
 * (@suheiry)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610069)
 * Hello.
 * Thank you for the code. It does center the date, but it pushes the year to the
   second line. How can I resolve that?
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610072)
 * Hey there Suheiry,
 * Could you please post link to your page where you want this to be centered.
 * Best regards,
    Bojan
 *  Thread Starter [Suheiry](https://wordpress.org/support/users/suheiry/)
 * (@suheiry)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610108)
 * I’d like the date centered on every post in the blog.
 * Example: [http://www.suheiry.com/2014/12/25/merry-christmas/](http://www.suheiry.com/2014/12/25/merry-christmas/)
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610111)
 * Hey Suheiry,
 * I checked the link you provided and the the category pages, date is centered 
   there and the year is not being pushed to the second line [http://screencast.com/t/Ql52pb2Na](http://screencast.com/t/Ql52pb2Na).
 * What am I missing?
 * Best regards,
    Bojan
 *  Thread Starter [Suheiry](https://wordpress.org/support/users/suheiry/)
 * (@suheiry)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610162)
 * I used a different date format so that it would fit. Otherwise it pushes part
   of the date to the next line.
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610163)
 * Hey there Suheiry,
 * Try replacing the code I gave you with this one:
 *     ```
       .post-date {
       display: block;
       width: 110px;
       margin-left: auto;
       margin-right: auto;
       }
       ```
   
 * If this doesn’t work please select the date format you wish to use so I can provide
   with the correct CSS.
 * Happy new year!
 * Best regards,
    Bojan
 *  [hape0007](https://wordpress.org/support/users/hape0007/)
 * (@hape0007)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610263)
 * Hi,
 * I just had the same problem, pushing the “align: center”-button over and over
   again. The answer in this topic was very helpful!
 * HOWEVER,
    is’nt this just a way to avoid the problem? There is a button to push
   if you want your date to be in the centre of the page. Then why does nothing 
   happend when pushing it? What is blocking the code?
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610264)
 * Hey there hape0007,
 * Glad code worked for you 🙂
 * As for why nothing happens when you’re trying to center it I’ll leave this for
   theme developers so we’ll have to wait for their response on this one.
 * Best regards,
    Bojan

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

The topic ‘Post Date cannot be centered’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/themify-base/1.2.4/screenshot.
   png)
 * Themify Base
 * [Support Threads](https://wordpress.org/support/theme/themify-base/)
 * [Active Topics](https://wordpress.org/support/theme/themify-base/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/themify-base/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/themify-base/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/post-date-cannot-be-centered/#post-5610264)
 * Status: not resolved