Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Results box width issue
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years ago.
- AuthorPosts
- February 27, 2019 at 11:56 am #21300
Hi
My results bleed into the background (an advert in this case) – please see image.
How can I specify the maximum width of the results box?
Thanks!
Attachments:
You must be logged in to view attached files.February 27, 2019 at 1:26 pm #21302Hi!
The issue here is not actually the search box, but one of the parent elements, that is using a flexible width layout. It’s only a minor issue, but it basically causes some of it’s content to ‘bleed’ out of the container, like so: https://i.imgur.com/Oisurba.png
To resolve it, apply this code to your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end:
.jeg_wrapper { width: 100%; }
It will assign a flex basis to the flex layout, and resolve the problem immediately: https://i.imgur.com/j7qfNXY.png
I hope this helps!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 27, 2019 at 1:50 pm #21303That’s great, many thanks!
February 27, 2019 at 1:51 pm #21304You cannot access this content. 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.