how to use style option on date=picker

smurf007 17 Feb, 2014
Hi,

How can I use the option 'Style' in combination with a ' Datepicker'?

I used under "Element edit settings -> Style" the following option width:325px, but it doesn't change the width of the Datepicker-box.

Regards,

Smurf
GreyHead 17 Feb, 2014
Hi smurf007,

Do you mean the DatePicker calendar display, or the linked form input?

Do you get any clues if you check the CSS being applied with your web browser developer tools?

Bob
smurf007 17 Feb, 2014
Copy-Paste:
<input id="deadline" class="form-control A" type="text" data-gdatetimepicker="1" data-tooltip="" data-load-state="" style="width: 325px;" title="" placeholder="" data-gdatetimepicker-format="d-m-Y" value="" name="Deadline"></input>
GreyHead 17 Feb, 2014
HI smurf007,

So that looks OK and confirms that it's the input you are formatting but doesn't help diagnose the problem. Please post a link to the form so I can take a quick look.

Bob
smurf007 17 Feb, 2014
Hi,

The site is off-line. I'll sent you the link asap.

Smurf
This topic is locked and no more replies can be posted.