Tylor1 Posted July 22 Posted July 22 (edited) I am trying to customize the form towards the bottom of the page so that the city, country, and state fields are aligned horizontally instead of vertically similar to how the first and last name fields are aligned. Any help would be greatly appreciated! Here is the link to the webpage https://www.nxtus.io/enterpriseseries Edited July 22 by Tylor1
Solution tuanphan Posted July 25 Solution Posted July 25 You can use this code to Website Tools > Custom CSS div#block-64823d9d6b9c3a415139d6c1 { div.form-item:nth-child(3), div.form-item:nth-child(4), div.form-item:nth-child(5) { width: 33.333% !important; float: left; } div.form-item:nth-child(n+6) { clear: both; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Tylor1 Posted July 28 Author Posted July 28 You are a legend, mate! Works perfectly. I didn't know you could select which item in the form you want using "nth-child(#)". That will come in handy. Thank you! tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment