2 fields alongside eachother

SamiBabe 21 Nov, 2012
Hi,
I have 2 fields that I need next to each other in my form.
For example the one is check in date and the other is check out date. It would be logical to show them right next to each other.

Please can someone explain how to do this?
SamiBabe 22 Nov, 2012
Hi Bob,

Have set my fields up like this, yet they are still displaying below each other.
See here: http://216.45.55.175/~creatdev/tladi-lodge/

Check in and check out should be along side eachother.
Adults and Rooms should also be next to eachother.

Any idea why this is not working?

The first item in the rown (check in and Adults) have been set to "Start a Multi field row". The last item in each row (check out and rooms) have been set to "Add to a Multi field row"

Is there anything else im supposed to be doing?
GreyHead 23 Nov, 2012
Hi Samantha,

They are side by side - but the box they are in is too narrow for them to display like that :-(
[attachment=1]23-11-2012 10-32-14.png[/attachment]
You need to adjust the CSS to fit the inputs into the space available:
[attachment=0]23-11-2012 10-38-07.png[/attachment]
Bob
SamiBabe 26 Nov, 2012
Hi Bob,
Thanks so much for the response.
Could you tell me what changes you made in order for the box to appear the same as your second box?

Sam
GreyHead 26 Nov, 2012
Hi Sam,

Sorry no, I didn't keep them. I just used FireBug and fiddled around with the element widths I think. This is fine for a one-off cosmetic fix but you may need to work on the CSS Selectors to get everything to work together in the template.

Bob
SamiBabe 27 Nov, 2012
No worries Bob.. I'll get that done with Firebug too.

Quick question.. How on earth did you get the boxes for the drop downs to be so narrow? I've tried playing with the settings in the backend, but no luck..
I'm probably overlooking something so simple😛
GreyHead 27 Nov, 2012
Hi Sam,

From memory I would have used width: xxxpx;

Bob
SamiBabe 27 Nov, 2012
Rockstar! Got it to work!
Did you perhaps have time to check out my other mail about the submit button not saving?
You asked me to send you the login details etc, I PM'd them to you a couple days ago🙂
This topic is locked and no more replies can be posted.