Jump to content
Sign in to follow this  
dsh2000

How Do You Center A Page?

Recommended Posts

dsh2000

Good morning everybody! I am trying to get my site centered. As you can see, right now I have all of this extra black space on the left side of the page. http://tatianadesigns.com I have tried this fix on my child theme, but with disastrous results. #page { width: 1000px; margin: 0 auto; } Is there something that I am missing?

Share this post


Link to post
Share on other sites
dsh2000

I have also added this custom css code (thanks to Kate) to align my branding and primary navigation. When I remove it, my page is centered again. #branding{float: left;width:397px;} #primary-nav{float: right;width: 603px;margin-top:30px;} #primary-nav .content{ overflow: hidden; } #primary-nav ul.main-nav.nosearch {width: 603px;} #nav_row.main_nav, ul.sf-menu ul li{ border-bottom: 1px solid #E9E9E9; width: 603px;} Do I need to tweek something in here?

Share this post


Link to post
Share on other sites
kastelic

Your page appears centered. Could you put the CSS back in? Or if you are trying to have the branding and navigation on the same line, have you tried the brandnav section?

Share this post


Link to post
Share on other sites
dsh2000

Thanks for the reply kastelic, I have put the CSS back in. However, when I do, my page has this extra black space on the right side. I want to have the branding and navigation on the same line. Is there another method than the one which I am currently using? #branding{float: left;width:397px;} #primary-nav{float: right;width: 603px;margin-top:30px;} #primary-nav .content{ overflow: hidden; } #primary-nav ul.main-nav.nosearch {width: 603px;} #nav_row.main_nav, ul.sf-menu ul li{ border-bottom: 1px solid #E9E9E9; width: 603px;}

Share this post


Link to post
Share on other sites
kastelic
I want to have the branding and navigation on the same line. Is there another method than the one which I am currently using?
Yes, use the brandnav section instead of the branding and navigation sections (in template setup)

Share this post


Link to post
Share on other sites
dsh2000

Thank you one again - you saved the day! PlatformPro is really amazing!!

Share this post


Link to post
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

Sign in to follow this  

×