css code

  • Unknown's avatar

    hello – can you help me – i need a css – code to change my website title – I want my site name 50 % bigger and in white

    The blog I need help with is: (visible only to logged in users)

  • Hi
    First, you’ll want to change the font-size and line height for the .site-title. They are currently set at 34px, and you can change them to another size. You’ll ned to see which line-height looks best to you. They don’t necessarily have to be the same number. The line height will control how close the site description is to your site name.

    .site-title {
        font-size: 34px;
        line-height: 34px;
    }

    Then you’ll want to add this code to make it white

    h1.site-title a {
        color: #fff;
    }

    If you also want to make the site description white, add this code

    .site-description {
        color: #fff;
    }

    Hope this helps! Let us know if you have any other questions.

  • Unknown's avatar

    Oh thank you very much – Yes – another help please – to change the site discripton in a bigger size and the line hight :-)

  • Unknown's avatar

    Oh thank you very much – Yes – another help please – to change the site discripton in a bigger size and the line hight :-)

  • The site description size code is:

    .site-description {
        font: 13px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    The first number is the font size and the second is the line height. You can adjust both numbers until you like the appearance.

  • The topic ‘css code’ is closed to new replies.