Title: CSS for text alignment
Last modified: October 10, 2019

---

# CSS for text alignment

 *  Resolved [LEVI44](https://wordpress.org/support/users/levi44/)
 * (@levi44)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/css-for-text-alignment/)
 * Hi, I need to align the opening hours. To the left justification and also to 
   the top rather than centred. At the moment the day sits in the centre of the 
   time, i want them both align vertically top. I can’t seem to do, it.

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

 *  Thread Starter [LEVI44](https://wordpress.org/support/users/levi44/)
 * (@levi44)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12022045)
 * can anyone help pls?
 *  Plugin Author [janizde](https://wordpress.org/support/users/janizde/)
 * (@janizde)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12023360)
 * Hi, please refer to the FAQ on styling: [https://wordpress.org/plugins/wp-opening-hours/#how%20can%20i%20change%20the%20styling%20of%20the%20widgets%20%2F%20shortcodes%3F](https://wordpress.org/plugins/wp-opening-hours/#how%20can%20i%20change%20the%20styling%20of%20the%20widgets%20%2F%20shortcodes%3F)
 * The alignment of the opening hours depends on the *alignment of tables in your
   WP theme*. The plugin does not make any assumptions about this. You will have
   to use custom CSS for this (e.g. `text-align` and `vertical-align` properties)
 *  Plugin Author [janizde](https://wordpress.org/support/users/janizde/)
 * (@janizde)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12023361)
 * .
 *  Thread Starter [LEVI44](https://wordpress.org/support/users/levi44/)
 * (@levi44)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12023377)
 * Hi, I tried that. It didn’t work 🙁
 *  Thread Starter [LEVI44](https://wordpress.org/support/users/levi44/)
 * (@levi44)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12037101)
 * what is the class name?
 *  Thread Starter [LEVI44](https://wordpress.org/support/users/levi44/)
 * (@levi44)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12037952)
 * if you have a chance to look, you can see the sunday is in the middle of the 
   text and i need it at the top
 * [http://www.kidsplaycafe.co.uk/](http://www.kidsplaycafe.co.uk/)
 *  Plugin Author [janizde](https://wordpress.org/support/users/janizde/)
 * (@janizde)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12057756)
 * As far as I can see it is already at the top, right? It has `vertical-align: 
   top` applied to the `<th>` elements

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

The topic ‘CSS for text alignment’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-opening-hours_3e2c4f.svg)
 * [Opening Hours](https://wordpress.org/plugins/wp-opening-hours/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-opening-hours/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-opening-hours/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-opening-hours/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-opening-hours/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-opening-hours/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 7 replies
 * 2 participants
 * Last reply from: [janizde](https://wordpress.org/support/users/janizde/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/css-for-text-alignment/#post-12057756)
 * Status: resolved