Home Forums Jorvik Remove Search feature in Main Menu

This topic contains 4 replies, has 2 voices, and was last updated by  ssorrell 2 weeks, 6 days ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5771

    ssorrell
    Participant

    I’ve been searching for a theme that does what Jorvik does, but I do not need a search feature in the menu bar, and when it’s there, it’s forcing my menu links into two lines.  Can you tell me how to remove?  I am good with editing php…

    #5772

    Yazmin
    Keymaster

    The quick and easy way is to hide it by adding the following to Customize > Additional CSS:

    .jorvik-search {
        display: none;
    }
    #5773

    ssorrell
    Participant

    Thanks for that.  However, that does not allow for the menu to use all the available space in the menu bar, it simply hides the search feature.  How can I effectively use the entire width of the menu bar for the menu items?

     

    #5774

    Yazmin
    Keymaster

    In that case, remove the previous CSS and add this instead:

    .site-main-menu {
        width: 100%;
    }
    
    .site-search {
        display: none;
    }
    #5776

    ssorrell
    Participant

    That did it!  Thank you very much!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.