• Resolved davidargence

    (@davidargence)


    Hello.

    I wish to have less spaces between the items in the top menu, but I dont find ho to do that. I fugure this in in the csss, but did’nt find. Can you hel me wuth it ?

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author presscustomizr

    (@nikeo)

    Hi,
    you can modify the space between menu items in your main css file, line #~ 6875. This is the following code, you can modify the second and/or fourth value of the padding :

    .navbar .nav > li > a {
    padding: 0px 20px 10px 20px;
    font-size: 16px;
    }

    Cheers,
    Nicolas

    Thread Starter davidargence

    (@davidargence)

    Thank you for fast reply !

    Can you tell me more : “your main css file” ?
    I am using the orange of Customizr, so the orange.css ?

    Thread Starter davidargence

    (@davidargence)

    That’s it ! Thank you very much !

    Hi,
    I’ve intended to do the same but I can’t see anywhere “your main css file” only Stylesheet in the Editor. I am using the orange of Customizr too but I don’t see the orange.css

    You should create a child theme. (Easy) Instructions here: https://managewp.com/how-to-create-a-child-theme

    Thanks, but it doesn’t help me much; I don’t think I’ll write my own css sheet. Am I missing anything? Where can I find this orange css with line #~ 6875 ?

    Your own, child, CSS style sheet only has to contain the things you’ve changed. In your case, it would look like this:

    /*
    Theme Name: customizr-child
    Template: customizr
    */
    
    @import url("../customizr/style.css");
    
    .navbar .nav > li > a {
    padding: 0px 20px 10px 20px;
    font-size: 16px;
    }

    If you change orange.css then next time the theme is updated, you will lose all your changes. It’s about 5 minutes’ work to set up a child theme following the instructions I linked to above.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘About the menu’ is closed to new replies.