Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Frontend issues › Reply To: Frontend issues
Thanks, that works now!
Please note that I can’t promise an exact working solution for all cases, as this partially falls under the customization request category, but I will do my best to help you.
I assumed that I can make changes to that test page, so I did 2 things:
1. I have changed the shortcode you are using for the search, the width of the settings box was changed to 20% and the search to 30%, you can change that of course:
[code][wd_asp elements='settings,search' ratio='20%,30%' id=1][/code]
2. I have added this custom CSS code to the search settings, to force the centering of the elements, as well as a forced size on the settings form, and to make it float closer to the search bar: https://i.imgur.com/CCUjki0.png
[html].asp_sb form {
width: 200px;
float: right;
}
.asp_shortcodes_container {
justify-content: center !important;
}[/html]
And that’s it basically. Now, it looks like this, centered and positioned next to each other: https://i.imgur.com/YNRFj04.png
I hope this helps!