Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Wider result box than input › Reply To: Wider result box than input
Hi Erik,
It could be possible actually, with some custom CSS adjustments. I would personally suggest something like this:
[html].asp_r_1.isotopic {
width: 50vw !important;
left: 45% !important;
}
@media only screen and (max-width: 720px) {
.asp_r_1.isotopic {
width: 70vw !important;
left: 25% !important;
}
}
@media only screen and (max-width: 480px) {
.asp_r_1.isotopic {
width: 95vw !important;
left: 0 !important;
}
}[/html]
In this scenario:
– On desktop resolutions the results width is 50% of the screen width
– On device width below 720 pixels 70%
– below 480 pixels 95%
You can adjust the values of course, this is just an example 🙂