[Resolved] Position an Ajax search shortcode below the header

Home Forums Support [Resolved] Position an Ajax search shortcode below the header

Home Forums Support Position an Ajax search shortcode below the header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1492242
    Simon

    Hi everyone,

    I have an Ajax search plugin called AJAX Search for WooCommerce and it uses the shortcode [wcas-search-form].

    I’ve been able to place it in the header so that it shows virtually all the time using a Hook element with position generate_inside_navigation – however this shows it above the header and I was rather hoping that it could be always displayed just below.

    The priority is currently set to 50 (have tried higher) and I wonder if adjusting this is intended to reposition or if you can suggest another solution.

    Any help would be appreciated.

    All the best

    Simon

    #1492415
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try this CSS:

    .dgwt-wcas-search-wrapp {
        order: 10;
    }

    Let us know ๐Ÿ™‚

    #1492822
    Simon

    Works brilliantly, thank you!

    #1493516
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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