WordPress.org

Forums

[resolved] Changing space between words in main menu. (5 posts)

  1. kmason
    Member
    Posted 1 year ago #

    I am trying to reduce the size between my words in order to fit everything in the main menu?

    Take a look at my main menu on my site. http://www.ifscoatings.com

  2. CrouchingBruin
    Member
    Posted 1 year ago #

    You can adjust the right padding on the menu items by adding this CSS. The current value is 4%; probably best to change it to a pixel value.

    .navbar .nav > li {
       padding-right: 25px;
    }
  3. kmason
    Member
    Posted 1 year ago #

    Where do I put this?

  4. kmason
    Member
    Posted 1 year ago #

    Thank you I figured this out!!!

  5. iampng
    Member
    Posted 1 year ago #

    In your style.css file or set up a child theme & add the css there, if you add the css to the parent (main theme), when there is an update to the theme you are using, you will lose all the changes you have made.
    You can go to the link below to find out how to create a child theme
    https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme
    Hope this helps

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags