Center header title in Twenty Ten

  • Author
    Posts
  • #832712

    ateaoscemxs
    Member

    Hi people!

    How can i center the header title “Até aos cem” in my blog?

    I do not find where in css.

    My blog is http://ateaoscem.wordpress.com and i upgrated Custom Design.

    Thank you!

    The blog I need help with is ateaoscem.wordpress.com.

    #833044

    ateaoscemxs
    Member

    Hi people.

    I don’t know yet, how to solve this!

    Can anyone help me, please?

    #833045

    There is one staff member that helps with CSS issues and she probably won’t be around until sometime mid day Tuesday.

    #833046

    ateaoscemxs
    Member

    Ok!
    I will wait!
    Thank you.

    #833047

    Hello ateaoscem,
    try this : in the following code of your CSS, replace left by center


    #site-title {
    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    font-size: 36px;
    letter-spacing: -0.03em;
    line-height: 42px;
    text-align: left;
    }
    #site-title a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    }
    #site-description {
    color: #000;
    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    font-size: 18px;
    margin: 0 0 9px 0;
    text-align: left;
    }

    How did I found ?
    In the HTML code of the page launch a search for “Até aos cem” and you will see it is encapsulated in a h1 tag with the id site-title : <h1 id=”site-title”>
    Then you only have to look for occurence of #site-title in the CSS and guess by yourself that it is happening in the align property …

    #833048

    ateaoscemxs
    Member

    It works!

    I configured too the margins of title, and was perfect!

    Thank you!
    :)

    #833098

    Nice!!!

The topic ‘Center header title in Twenty Ten’ is closed to new replies.