WordPress.org

Support

Support » Themes and Templates » Capitalize the first letter on nav bar

Capitalize the first letter on nav bar

  • jamescock1

    @jamescock1

    ok as a newbie to wordpress iam stuck i have wp installed at bristoltantric.co and Purple Pastels theme the problem i have got is on the nav bar they are all under caps and i wanted the first letter to be caps so first one is home need Home 2nd offers need it to be Offers and so on i can see the theme then editor then iam stuck anyone willing to help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    @alchymyth

    Forum Moderator

    possibly:

    #pp_tabs a { text-transform: capitalize; }

    either find the style of #pp_tabs a { } in layout.css, or add these at the end of style.css or layout.css of your theme.

    jamescock1

    @jamescock1

    ok this is what I found in layout.css

    what do I need to change ?? if you could enter correct info so I can just copy and paste in would be good

    [CSS code moderated – please simply post a link to your site; or follow the forum guidelines for posting code]

    Michael

    @alchymyth

    Forum Moderator

    change here:

    #pp_tabs a {
    display:block;
    margin:0;
    padding:0 10px;
    line-height:20px;
    text-decoration:none;
    }

    to:

    #pp_tabs a {
    display:block;
    margin:0;
    padding:0 10px;
    line-height:20px;
    text-decoration:none;
    text-transform: capitalize;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Capitalize the first letter on nav bar’ is closed to new replies.
Skip to toolbar