[Resolved] How to change search box size on navigation area?

Home Forums Support [Resolved] How to change search box size on navigation area?

Home Forums Support How to change search box size on navigation area?

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #1503770
    linuxwolf

    How to make my site search bar width like the site I have mentioned here. The default search bar width is equal to the whole primary navigation. If you are going to share CSS or HTML code, do tell me how to and where to use it.

    #1503797
    Leo
    Staff
    Customer Support

    Hi there,

    That site isn’t using any CSS.

    It’s just using float right in navigation location:
    https://docs.generatepress.com/article/navigation-location/

    #1504150
    linuxwolf

    Not working. Please explain.I want my search bar looks like below site.

    #1504247
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site so we can take a look at the issue

    #1504486
    linuxwolf

    Deleted the site, I’ll rebuild and revert back here.

    #1504550
    David
    Staff
    Customer Support

    No problems – let us know.

    #1506130
    linuxwolf

    Hello David,
    I am working on it.
    The search box covers the whole navigation bar when you click on the search icon on the top left.

    #1506659
    Leo
    Staff
    Customer Support

    Please complete the following steps below:

    – Disable this option: https://docs.generatepress.com/article/navigation-as-a-header/

    – Set the navigation location to float right:
    https://docs.generatepress.com/article/navigation-location/

    – Set the header background color (Colors > Header) and navigation background color (Colors > Primary Navigation) to be the same color.

    – Reduce the header padding – woorkup is using 10px for top and bottom:
    https://docs.generatepress.com/article/header-padding/

    That should be it.

    #1507213
    linuxwolf

    What should be the size of the icon to make the menu header look normal?

    #1507471
    David
    Staff
    Customer Support

    Did you follow the steps that Leo provided here:

    https://generatepress.com/forums/topic/how-to-change-search-box-size-on-navigation-area/#post-1506659

    As this the exact setup for the site you want to copy.

    #1507576
    linuxwolf

    Yes followed, It works. I just wanted to confirm the correct logo size. Thanks. We can close the topic.

    #1508025
    David
    Staff
    Customer Support

    Glad to hear that.

    #1508035
    linuxwolf

    👍

    #1509910
    linuxwolf

    There’s an issue. I have followed Leo and everything is working alright but the logo looks tiny, no matter what size logo I put.

    #1509937
    David
    Staff
    Customer Support

    Go to Customizer > Layout > Primary Navigation and increase the Menu Item Height as this sets the size of the logo.

    If still a problem, please link me to the site ( any private information is removed when a topic is set to Resolved ) so i can take a look.

Viewing 15 posts - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.