Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › the result box shows above the setting box.
This topic contains 3 replies, has 2 voices, and was last updated by kokosan 1 year, 3 months ago.
- AuthorPosts
- January 4, 2023 at 3:39 pm #40749
I enable this option “Hide the search box completely, display settings only?” in Layout option to hide the search but show only setting box and result box. In the shortcode generator, I put the setting box above the result box with 100% wide, but the result box shows above the setting box. In the admin live preview, the result box also shows above the setting box. Here is the shortcode.
<?php echo do_shortcode("[wd_asp elements='settings,results' ratio='100%,100%' id=9]");?>
and with 100% wide, but the boxes still display as 200px. Do I have to solve this with css?
January 4, 2023 at 3:48 pm #40750Actually it show nothing with that code, but with this <?php echo do_shortcode(“[wd_asp elements='search' ratio='100%' id=1]“);?>
January 5, 2023 at 4:12 pm #40787Hi,
In that case (when the search bar is disabled) the “search” becomes the settings so it is a bit overcomplicated.
This should give you the expected layout:
Best,<?php echo do_shortcode("[wd_asp elements='search,results' ratio='100%,100%' id=9]");?>
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 9, 2023 at 9:53 am #40816ok now.
- AuthorPosts
You must be logged in to reply to this topic.