Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › COMPACT SEARCH BAR WIDTH ISSUE
This topic contains 13 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 9 months ago.
- AuthorPosts
- May 29, 2019 at 8:57 pm #22949
Hi Guys,
I have added the shortcode to our menu which uses Shivnav plugin.
All looks good however the search box does get fully expanded when you click on it. It is set to 100%
Screenshots are attached.
Thanks
ColinAttachments:
You must be logged in to view attached files.May 30, 2019 at 9:13 am #22954Hi Colin,
It looks like that the container element has an automatic width set, so it expands to a minimum value. Instead of percentage values, try using pixel values, that will do the trick.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 30, 2019 at 10:17 am #22957Hi Ernest
That worked.
I have another question.
Is this the correct class name to target the h3 title of the verticle dropdown
div.asp_r.asp_r_1 .results .item .asp_content h3
Thanks
ColinMay 30, 2019 at 11:22 am #22958Hi Colin,
Yes, that seems correct to me.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 30, 2019 at 7:33 pm #22966Hi Ernest
What would be the best way to show all results for two queries below
Smart watches
SmartwatchesCurrently, search results are displayed separately for both ways of writing this word.
Thanks
ColinMay 31, 2019 at 8:49 am #22968Hi Colin,
Well, probably using the additional keywords feature is a good way. You can add these keywords to the items where they are missing.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 1, 2019 at 6:32 am #22980Hi Ernest,
I have another issue.
For mobile, it appears Ajax Seach Pro is adding white space under our menu header. How can we remove this? Have attached screenshot.
Also, How can we limit the amount of posts showing on mobile compared to desktop? We only want to show 5 posts on mobile in the dropdown after you search. Screenshot attached.
Thanks
ColinAttachments:
You must be logged in to view attached files.June 3, 2019 at 1:13 pm #22997Hi,
I am not sure if you resolved the white space issue, but it looks okay to me at the moment: https://i.imgur.com/WbYIVr6.png
Let me know if it happens on a specific device.To resolve the height issue on mobile devices, try this custom CSS:
Best,@media only screen and (max-width: 480px) { .asp_r .results { max-height: 300px !important; } }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 5, 2019 at 9:44 pm #23049Hi Ernest
This fix this issue…thanks
I have one more question for now.
When you enable autocomplete on mobile the autocomplete text sits behind the written text and is hard to read the text
I have attached a screenshot for your reference.
Thanks
ColinAttachments:
You must be logged in to view attached files.June 6, 2019 at 8:16 am #23052Hi,
It looks like maybe a 1px misalignment for some reason. Try this custom CSS rule, it should align it 1px lower:
Best,@media only screen and (max-width: 480px) { div.asp_m.asp_m_1 .probox .proinput input.autocomplete { margin-top: -33px !important; } }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 7, 2019 at 4:57 pm #23068Hi Ernets,
Thanks for your help all looks great.
last things I need to ask is how to make the settings menu icon the same size as the search box.
Screenshot attached.
Thanks
ColinAttachments:
You must be logged in to view attached files.June 10, 2019 at 11:38 am #23078Hi Colin,
It looks like it’s only a black border/box shadow, check if the border and the box shadow of the settings icon is set to none: https://i.imgur.com/5ZKhpSV.png
Those should do the trick. If not, then use this custom CSS:
Best,.prosettings { background: white !important; } .prosettings svg { fill: black !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 11, 2019 at 6:52 pm #23107Thanks Ernest
I wanted to ask you about the option of loading the css files aync.
Do you think its required as we used Cloudflare Rocket Loader.
Thanks
ColinJune 12, 2019 at 8:44 am #23116Hi Colin,
I don’t think it’s neccessary if you are using the Rocket Loader, it should take care of that.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.