• 0
Sign in to follow this  
Followers 0

Trouble centering my header

Question

Posted · Report post

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

3 answers to this question

  • 0

Posted · Report post

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.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

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
  • 0

Posted · Report post

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.

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  
Followers 0