Site logo

[Support request] Search input inside the navigation (right align), how?

Home Forums Support [Support request] Search input inside the navigation (right align), how?

Home Forums Support Search input inside the navigation (right align), how?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1558256
    Fábio Rodrigo

    Hello there!

    I’m trying to insert a searchform input inside the navigation, like this: https://i.imgur.com/QdgQyre.jpg

    Inserting the form inside the navigation wasn’t a problem using an element hook, the problem is the alignment.

    No matter what I do, it won’t go to the right.

    I already tried using different hooks (before/after logo, menu, etc), css float right, padding, the menu aligment inside the customizer -> layout -> navigation -> align right, but… still no success.

    How can I make this work? Even better, with the search icon inside the form, like the link above.

    Thank you for your time.

    #1558291
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site so i can see your current layout.

    #1558394
    Fábio Rodrigo

    Hello, David. Here it is:

    #1559155
    Leo
    Staff
    Customer Support

    I’m not seeing a search bar inside the navigation bar currently.

    Looks like you are using the Flexbox structure of the theme so can you try adding it using this hook?
    https://docs.generatepress.com/article/generate_menu_bar_items/

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