Skip to Content Skip to Menu

Date Field too Wide

10 years 2 weeks ago #249976 by streetfire
Date Field too Wide was created by streetfire
Hi guys, I'm using the date field for the first time. I have a problem in that the line is too wide for my page. See attached.

How can I reduce the field size width for this element so it doesn't skew my page?
Attachments:

Please Log in or Create an account to join the conversation.

  • dwebber
  • dwebber
  • OFFLINE
  • Posts: 19
  • Thanks: 2
  • Karma: 0
10 years 2 weeks ago #249979 by dwebber
Replied by dwebber on topic Date Field too Wide
The easiest way is to adjust your css for the template, below is what I added to my template

.cb_field input, .cb_field select {width: auto;}

depending on your template will depend on where you will need to make the change, it could be in the CB template.css file, or you maybe able to add it to a custom.css file in your main template

Please Log in or Create an account to join the conversation.

10 years 1 week ago #250550 by streetfire
Replied by streetfire on topic Date Field too Wide
Hi, I couldn't get the above to work, but this did!
Code:
.fieldCell input, .fieldCell select { width: auto; }
The following user(s) said Thank You: nant, cjmicro

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum