Jump to content

How To Get Content Container Centered & 800px


AliciaGuarino

Recommended Posts

Hi everyone,

 

I've been tweaking my genesis theme in wordpress and I have run into a bit of a snag in the css file. I chose a full-width layout for my website, but I would like the content container (only what contains the blog posts, page info, etc.) to be 800px wide.

 

When I change the width of the content area, it automatically gets stuck to the right, and I have no idea how to center it and have it remain mobile responsive. If anyone could help it would be much appreciated!

 

www.aliciaguarino.com

Edited by AliciaGuarino
Link to comment
Share on other sites

You don't need to insert in to media query, it should come under default styling, the width: 100%; i added to the default styling for that selector that was already there. It just makes that image adjust to the width available to it, so as its parent container shrinks it will shrink with it, its width won't go beyond 720px, cause the parent containers width should be restricted to max-width: 720px;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...