logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$15
Template front page not centred?

Hi,

I purchased this template:

http://demo.freshface.net/file/lcp/wp/

And for some reason when I installed it, it didn't centre align.

http://studiosomething.com/

I have close to no idea about how to figure this out.

Any advice would be HIGHLY appreciated.

Thank you :)

studiosomething | 01/29/12 at 3:42am Edit
Tutorial: How to assign prize money


(4) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    01/29/12
    3:46am
    Fahd Murtaza says:

    Edit

    #container {
    background: #454545;
    margin: 0 auto;
    }


    in red.css line no 9

    /wp-content/themes/londoncreative/skins/red/red.css

    margin: 0 auto;


    is what I have added.

    Previous versions of this answer: 01/29/12 at 3:46am

    • 01/29/12 3:48am

      Fahd Murtaza says:

      Also

      #footer {
      background-image: url(gfx/footer_top.jpg);
      background-color: #2C2C2C;
      margin: 0 auto;
      }


      line no 70 in red.css.

      I added

      margin: 0 auto;


      again in the file.

    • 01/29/12 11:06am

      Fahd Murtaza says:

      Hai Bui has suggested the right answer. Go for what he says.

  • avatar
    Last edited:
    01/29/12
    3:50am
    Hai Bui says:

    Hi,

    There is a redundant close tag (</div>) in the header and it breaks the layout.

    <div id="header_contacts">>phone: +61 425 805 199<br/>e-mail: hello@studiosomething.com</div></div>


    You can remove one close tag (</div>), i guess it's in header.php
    Or if you don't know how to do it, please PM me the WP admin username and password, I will help you.

    Previous versions of this answer: 01/29/12 at 3:50am

    • 01/29/12 3:54am

      Hai Bui says:

      Editing css will help too, but it will not solve the real problem (invalid HTML markup)

  • avatar
    Last edited:
    01/29/12
    4:02am
    idt says:

    Hi,

    Just add it at the bottom of your style.css:


    /* To center content container */
    #container {
    margin: 0 auto !important;
    }
    /* To center footer */
    #footer, #footer_bottom {
    margin: 0 auto !important;
    }

    Previous versions of this answer: 01/29/12 at 4:02am

    • 01/29/12 3:55am

      idt says:

      Oops... Fahd mention the footer style I was typing.

  • avatar
    Last edited:
    01/29/12
    3:57am
    Jatin Soni says:

    add below property. I have added line number if you havent modified yet than can be find at the same line number.

    Just add margin:0 auto to these three ids

    style.css line 48
    #container{
    margin: 0 auto;
    }

    style.css line 221
    #footer{
    margin: 0 auto;
    }

    style.css line 224
    #footer_bottom{
    margin: 0 auto;
    }

This question has expired.





Current status of this question: Community pot



Please log in to add additional discourse to this page.





Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.