Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Customize Search Results Width › Reply To: Customize Search Results Width
August 21, 2018 at 7:13 am
#19015
Keymaster
Hi!
The width of the floating results is set to follow the width an float of the search bar at all times.
To change it’s width separately, I recommend using this custom CSS:
[html].asp_r {
width: 400px !important;
margin-left: -154px !important;
}[/html]
This will change it’s width to 400 pixels, and also aligns the results to the right of the search bar with a negative margin. You can change these values of course, as you like.
You can apply this code on your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end.