Jump to content
Sign in to follow this  
ksorgius

Trouble centering my header

Recommended Posts

ksorgius    0
ksorgius

Please forgive me for asking this question, as it has been asked and answered multiple times, but no matter what I try, I can't fix it. I want to center my header. I added this code #branding .mainlogo-link, #branding .mainlogo-img {margin-left:-20px;}. No change. I have very limited experience with css. Here is my site: www.notconsumed.com Thank you

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi, Your first problem is that the upload option should only really be used for logo's and not full header/banner images. However if you change the width of the header image from 980px to 960px and use the following the code: [code]#branding .content-pad {padding: 25px 0px 25px 0pxn!important;}[/code] Your header/banner image should then be centred.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
ksorgius    0
ksorgius
Ok, I resized it to 960, and put in that code with no results. Is that the complete code needed? If so, where should I be putting it? Perhaps that is my problem.

Share this post


Link to post
Share on other sites
Jenny    33
Jenny
It looks like you have the free version of PageLines installed. Unfortunately you can't do custom CSS with it. If you upgrade to the professional version, this option is available. What you will need to do is create your logo image based on the width of the area it will be placed in. Then center the logo, using a photo editor.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

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  

×