Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Inline radio buttons
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 4 months ago.
- AuthorPosts
- December 12, 2019 at 4:11 pm #25007
Hey. I’m displaying custom field filters, and want to use radio buttons. However, the radio buttons labels have <br> after each one, and I would like to display them inline.
I have tried, without success, using jQuery to remove the <br>.
Is there a solution I’m not seeing?
*as of now I replaced the radio with dropdown, until I’ll find a solution.
Best regards,
Ofer ZivDecember 13, 2019 at 10:54 am #25019Hi,
It is not really the line break the issue, but the label container, where the radio buttons are wrapped. Try this custom CSS, it should make them break lines:
Best,label.asp_label { display: inline-block !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 6, 2020 at 7:43 pm #25220Hi Ernest, thanks for your answer.
This actually is not working. all checkbox are still showing one on top of the other.
Any solutions?January 7, 2020 at 11:08 am #25224Hi,
Maybe there are rendered breaks after all for some reason. This should resolve them as well:
Best,label.asp_label { display: inline-block !important; } label.asp_label~br { display: none !important; }
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.