Title: Content alignment
Last modified: August 21, 2016

---

# Content alignment

 *  [lisa_taylor](https://wordpress.org/support/users/lisa_taylor/)
 * (@lisa_taylor)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/)
 * Hello,
 * I’m a newbie and cant quite work out how to get my content to centre align, I
   am happy to add/delete things from the style sheet but dont want to break anything.
   Please can you tell me how to centre align my content? My website is [http://www.henpartycornwall.co.uk](http://www.henpartycornwall.co.uk)
   thank you.

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

 *  [teacherteacher](https://wordpress.org/support/users/teacherteacher/)
 * (@teacherteacher)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944792)
 * Which element were you looking to centre align? It seems to be aligned correctly
   on FF 24.
 * TT
 *  Thread Starter [lisa_taylor](https://wordpress.org/support/users/lisa_taylor/)
 * (@lisa_taylor)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944799)
 * thank you for the swift response, on the homepage I have centre aligned using
   the editor, but I want the text in the middle of all pages instead of centre 
   aligning and getting the indents in the paragraph, if you know what I mean?
 *  [teacherteacher](https://wordpress.org/support/users/teacherteacher/)
 * (@teacherteacher)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944811)
 * Hi,
 * I’m not sure exactly what you mean, but a simple way of centre aligning an element
   is to give it a width and then set the left and right margin to auto. For example:
 * #yourelement {
    width: 800px; margin: 0 auto; }
 * You will need to give more specifics if you need additional help.
 * TT
 *  Thread Starter [lisa_taylor](https://wordpress.org/support/users/lisa_taylor/)
 * (@lisa_taylor)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944817)
 * Sorry maybe not explaining myself well, if you look at [http://www.henpartycornwall.co.uk/inspire/](http://www.henpartycornwall.co.uk/inspire/)
   the content is all left aligned I would like it to be in the centre of the page
   but not like this
    blahblahbalahblahblahblahblahblah blahblahblahblahblahb blah
   blahblah
 * But like this
    Hen Party Cornwall wants to inspire you to create a fabulous hen
   night
 * I guess I like you say I need padding or a margin but in which style sheet do
   I add it as there are so many?
    (sorry if I am being a dumbass)
 *  Thread Starter [lisa_taylor](https://wordpress.org/support/users/lisa_taylor/)
 * (@lisa_taylor)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944818)
 * damn it left aligned my example
 *  [teacherteacher](https://wordpress.org/support/users/teacherteacher/)
 * (@teacherteacher)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944834)
 * Try something like this:
 * .homecontent * {
    width: 640px; margin-left: auto; text-align: left !important;
   margin-right: auto; }
 * Check your theme settings to see if there is an area to add your own CSS rules.
   Otherwise you could try adding this to the bottom of: /wp-content/themes/virtue/
   assets/css/skins/default.css
 * I hope that helps.
 * TT
 *  Thread Starter [lisa_taylor](https://wordpress.org/support/users/lisa_taylor/)
 * (@lisa_taylor)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944846)
 * Thank you very much for your help, I’ll give it a go!
 *  [daversm](https://wordpress.org/support/users/daversm/)
 * (@daversm)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944915)
 * how would I center align widgets I add to columns in the footer. I have three
   columns ( picked the three column layout from main settings) in the footer. The
   left column has a social media widget, but its left aligned and I would like 
   it to be in the center.
 * Thanks
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944955)
 * [@lisa_taylor](https://wordpress.org/support/users/lisa_taylor/) Your using a
   page with a sidebar so you might want to add somthing to that sidebar or just
   use a fullwidth page template. Here is some custom css to try. You will add it
   to your custom css box in the theme options > advanced settings:
 * `#content {text-align: center;}`
 * Worth noting that in the content area you can use the wordpress editor to center
   the text.
 * [@daversm](https://wordpress.org/support/users/daversm/)
    add this to your custom
   css box in the theme options > advanced settings:
 *     ```
       .virtue_social_widget a {
       display: inline-block;
       float: none;
       }
       .virtue_social_widget {
       text-align: center;
       }
       ```
   
 * Kadence Themes

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

The topic ‘Content alignment’ is closed to new replies.

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

## Tags

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

 * 9 replies
 * 4 participants
 * Last reply from: [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/content-alignment-3/#post-4944955)
 * Status: not resolved