[Support request] Center search box widget in header

Home Forums Support [Support request] Center search box widget in header

Home Forums Support Center search box widget in header

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #400143
    Gregory

    Hello,

    I’m using the plugin Ajax Search Box and would like to add the search box in the header between my logo (on the left) and my navigation (on the right).

    When I use the header widget, it’s not on the same line as the logo & nav.

    How can I achieve what I want?

    Here is the website : http://www.dev.forkett.com

    Thank you.

    #400343
    Tom
    Lead Developer
    Lead Developer

    The easiest way to do this would be to:

    1. Set your header alignment to “center”.

    2. Add this CSS:

    .header-widget {
        float: none;
        width: auto;
        max-width: 100%;
        display: inline-block;
    }

    Then adjust the width to whatever you need 🙂

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