[Resolved] Search below secondary navigation

Home Forums Support [Resolved] Search below secondary navigation

Home Forums Support Search below secondary navigation

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #774711
    Matthew

    Hi,

    I have used the header widgets to insert a search box in the header but I wanted the search box to appear below the secondary navigation (the change country etc links).

    Is this possible? Maybe with the use of Elements?

    Thanks.

    #774798
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    @media (min-width: 768px) {
        .inside-header {
            position: relative;
        }
        .header-widget {
            position: absolute;
            right: 40px;
            bottom: 2em;
        }
    }
    #774845
    Matthew

    Hey David,

    That’s great thanks – I just noticed though that the search box even though on the right hand side is going above the logo on mobile?

    Is there a simple way to stop this happening?

    Cheers.

    #775030
    David
    Staff
    Customer Support

    Which order would you like the header to mobile?
    Logo > Site Branding > Search Bar?

    #775142
    Matthew

    Hey David,

    Yes correct ๐Ÿ™‚

    How can I achieve this?

    Thanks!

    #775147
    David
    Staff
    Customer Support

    Give this a shot:

    @media (max-width: 768px) {
        .inside-header {
            display: flex;
            flex-direction: column-reverse;
        }
    }
    #775203
    Matthew

    That is great that works thanks! ๐Ÿ™‚

    #775338
    David
    Staff
    Customer Support

    You’re welcome

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