WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[resolved] Menu Font Size. (4 posts)

  1. asanti75
    Member
    Posted 9 months ago #

    First I want to thank you for this theme, I love it.

    My problem is this, I want to change the font size in the Menu, but unfortunately when I change the CSS in the Custom CSS Manager

    .navbar .nav > li > a {
    padding: 5px 20px 5px 20px;
    font-size: 30px;
    }

    It changes but only after the second letter that means that the first letter in each menu remain in 15px and the others in 30px.

    Could you help me, please, please, please?

  2. asanti75
    Member
    Posted 9 months ago #

    I didn't get any answer I don't know why, but here is my solution for those who are dealing with the same problem.

    You have to change to part, the first one is

    `.navbar .nav > li > a {
    padding: 5px 20px 5px 20px;
    font-size: 30px;
    }`

    and the second one is

    `.navbar .nav > li > a:first-letter {
    font-size: 30px;
    } `

    Remember use a CSS manager or a child theme.

  3. ElectricFeet
    Member
    Posted 9 months ago #

    Thanks for this asanti75. Works a treat!

    Remember use a CSS manager or a child theme.

    Just a word of warning for others who are newbies like me: you cannot use the built-in CSS manager in Customizr because the code includes ">" characters, which are not allowed. (The text in the Custom CSS section says this, but I was scratching my head for a while before I actually read it.)

  4. asanti75
    Member
    Posted 9 months ago #

    Thank you, I didn't know that restriction in the CSS Manager in Customizr theme, on the other hand I made those changes in a CSS manager plug in, that is easy to use too.

Reply

You must log in to post.

About this Theme

About this Topic