Support » Themes and Templates » [theme: twenty twelve] Cannot capitalize Page names

  • Resolved BLuu123

    (@bluu123)


    Hi,

    I’m having problems with my custom Twenty Twelve theme.

    Everything works great, expect, I cannot get my page names to capitalize.

    #masthead  .main-navigation a {
            margin-left: 17px;
            margin-top:162px;
            margin: 1 1 1rem 1;
           font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    text-decoration:underline;
    text-transform: capitalize;
    }

    last line wont work, however, if I change text transform to anything else, it works. Obviously I have actually changed the page names.

    My site –

    http://ubervilla.lv/eng/

Viewing 15 replies - 1 through 15 (of 15 total)
  • WPyogi

    (@wpyogi)

    Forum Moderator

    That URL does not seem to work.

    BLuu123

    (@bluu123)

    the server was down for a while, seems to be back now

    WPyogi

    (@wpyogi)

    Forum Moderator

    Still won’t load – is that the right URL?

    BLuu123

    (@bluu123)

    Yes, and its down for me too now again.

    I actually had issues on other server today too. I think its one of those days when the internet backbone screws up.

    WPyogi

    (@wpyogi)

    Forum Moderator

    Okay, well as we all know, those things happen :/. I can check in tomorrow at some point (going to be driving most of the day though so not sure when) or someone else may pick it up too.

    BLuu123

    (@bluu123)

    Ok, thank you sir.

    Maybe those issues were because of the server.

    Unrelated, but you’re missing a few units in
    margin: 1 1 1rem 1;

    You need to specify what 1 is supposed to be (px, em, rem, %, etc.).

    Well, the site is up and your page names are capitalized.

    BLuu123

    (@bluu123)

    Ok, I thought capitalized is if I type aBc it shows as aBc instead of Abc?

    Capitalized is when the first letter of the word is changed to uppercase, the rest is left as it was. If you type aBc deF, capitalized text will be shown as ABc DeF.

    BLuu123

    (@bluu123)

    Ok, so how do I make page name aBcdE

    Remove text-transform from CSS and change the page name to aBcdE.

    BLuu123

    (@bluu123)

    I removed all text-transform lines from css, and now all the pages are uppercase.

    I see, it’s a child theme. Well, your parent theme’s CSS transforms text to uppercase.

    Set text-transform: none; in your child theme then.

    BLuu123

    (@bluu123)

    Works now.

    Thank you!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[theme: twenty twelve] Cannot capitalize Page names’ is closed to new replies.