Custom CSS – I am doing something wrong?

  • bobsled

    #3597

    I’m trying to change the font size of my post titles in the options Custom CSS box from 22px to 18px. I have the following code entered:

    #header-menu > li {
    font: normal 11px arial;
    margin: 0 2px;

    .post-title, .post-title a, .post-title a:visited {
    font: 18px arial;
    }

    The header menu option is applying but not the title font change. Am I missing something? Any help most appreciated.

    Admin

    Syahir Hakim

    #25176

    Wrap codes in between backticks (`) next time, makes it easier to read. I’ve done this for you in your post above.

    Your Custom CSS code is missing a closing bracket(}). It should be like this:

    #header-menu > li {
    font: normal 11px arial;
    margin: 0 2px;
    }
    .post-title, .post-title a, .post-title a:visited {
    font: 18px arial;
    }

    bobsled

    #25177

    Thanks Syahir! Will use the back ticks next time and thanks for your help.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!