Capitalize menu items in Twenty Twelve

  • Author
    Posts
  • #1135618

    Hi there

    I’m using the twenty twelve theme and would like to capitalize menu items. I have used the css code:
    menu {
    font-size: .8em;
    color: navy;
    text-transform: capitalize;
    }
    which was I found through the forums but it doesn’t seem to be working. The color (colour) doesn’t seem to change to navy either.

    Thanks for your help in advance.

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

    #1135720

    rachelmcr
    Staff

    Instead of modifying the menu itself, you want to focus specifically on the menu links with this selector:

    .main-navigation li a {
    [your code here]
    }

    Try that out and see if it does what you want. I have also tagged this post to move it to the CSS support forum.

    #1135801

    That worked! Thanks very much expattranslator.

The topic ‘Capitalize menu items in Twenty Twelve’ is closed to new replies.