Title: Centering things
Last modified: August 22, 2016

---

# Centering things

 *  [Rawwy](https://wordpress.org/support/users/rawwy/)
 * (@rawwy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/centering-things/)
 * hi, I am currently learning how to set up websites. So, basically, i just want
   the things in the red circle centered, so it fit’s inside the green circle.
    
   [http://gyazo.com/48cbb00af5c57667b22bd7b2eebdde25](http://gyazo.com/48cbb00af5c57667b22bd7b2eebdde25)
 * I am using the theme Virtue and Woocommerce for the eCommerce stuff.
    Thanks 
   🙂

Viewing 1 replies (of 1 total)

 *  [Matt Knowles](https://wordpress.org/support/users/aestheticdesign/)
 * (@aestheticdesign)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/centering-things/#post-5675260)
 * To the container of the red circle, add the CSS properties of margin-right: auto;
   and margin-left: auto;
 * The container must also have a width property for that to work.

Viewing 1 replies (of 1 total)

The topic ‘Centering things’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Matt Knowles](https://wordpress.org/support/users/aestheticdesign/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/centering-things/#post-5675260)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
