Title: Aligning content
Last modified: April 9, 2018

---

# Aligning content

 *  [elynpatrick](https://wordpress.org/support/users/elynpatrick/)
 * (@elynpatrick)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/aligning-content/)
 * I am trying to align an additiona line of text I’ve added to be centered by I
   can’t quite work it out. Here is the css I am using:
 * .site-description:after {
    display: block; content:”Weddings | Parties | Birthdays
   | Corporate | Events | Christenings | Funerals | Any type of Celebration”; font-
   size: 15px !important; font-family: lato; color: white !important; font-weight:
   100; position: absolute; visibility: visible; text-align: center; }
 * Can someone help me to centre this line please?
 * Thanks 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Faligning-content%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [sacredpath](https://wordpress.org/support/users/sacredpath/)
 * (@sacredpath)
 * Automattic Happiness Engineer
 * [8 years, 2 months ago](https://wordpress.org/support/topic/aligning-content/#post-10163560)
 * The `position: absolute;` is what is causing the problem. Change that to `position:
   relative;`.

Viewing 1 replies (of 1 total)

The topic ‘Aligning content’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/dyad/1.0.10/screenshot.png)
 * Dyad
 * [Support Threads](https://wordpress.org/support/theme/dyad/)
 * [Active Topics](https://wordpress.org/support/theme/dyad/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/dyad/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/dyad/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sacredpath](https://wordpress.org/support/users/sacredpath/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/aligning-content/#post-10163560)
 * Status: not resolved