Reply To: Overriding default search and default result spage

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Overriding default search and default result spage Reply To: Overriding default search and default result spage

#7180

Ernest Marcinko
Keymaster

Hi!

Sorry for the late response, I was on a family vacation.

I see you managed to put the search shortcode to the header.php file. It was almost correct, I had to remove the surrounding form element, it was causing problems.

Also after fixing that, I've added the following custom CSS to reduce the width a fix the floating and margins for the home page search:

/* Front page ajax search pro fixes */
#main-menu-wrapper .asp_main_container {
    width: 200px !important;
    height: auto !important;
    margin-top: 12px !important;
}

That reduces the width for the search to a correct 200px to fit into that space, but only for the header search instance.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)