Align content to Center
-
Our website: http://www.gentlecaredentistry.com.au
Previously, our content was in the middle and have a green on the left and right, and then the white container with content and sidebar in the center.
It is now aligned to the left, with large green background on the right (but none on the left).
Looking at our code:
`container {
width: 400px;
margin-left: auto;
margin-right: auto;}
.outer-container {
position:relative;
}.container {
display:table;
position:relative;
left: 50%;
margin-top:-50px;
margin-left: -50px;
width: 400px;
height: 400px;
padding: 150px;
}Tried different css style for the containers to make it in the center, but there are no changes.
How can I get it aligned back in the middle ?
The blog I need help with is: (visible only to logged in users)
-
Hi there!
This is a WordPress.COM support forum. Your site is self-hosted WordPress.ORG site.
For more information on the difference between both, read the following guide: https://en.support.wordpress.com/com-vs-org/
Hope this helps!
-
For self-hosted WordPress sites such as yours, I would suggest asking for help from the theme author directly or ask in the volunteer-based WordPress.org forums.
I did take a quick look at your site, but from what I’m seeing on your site I’m not sure what you are looking for. I would suggest asking in the WordPress.org support forums and include exactly what you are wanting things to look like.
- The topic ‘Align content to Center’ is closed to new replies.