Site logo

Archived topic

Position an Ajax search shortcode below the header

3 replies · Started by Simon on October 16, 2020

Viewing posts 1–4 of 4

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

Hi there,

Try this CSS:

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

Let us know :)

Works brilliantly, thank you!

You're welcome :)

This archived topic is closed to new replies.