WordPress.org

Ready to get started?Download WordPress

Forums

Capitalize the first letter on nav bar (4 posts)

  1. jamescock1
    Member
    Posted 2 years ago #

    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

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    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.

  3. jamescock1
    Member
    Posted 2 years ago #

    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]

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic