Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

set datefield size 16 Feb 2013 14:42 #6785

  • LJ01
  • LJ01's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 78
  • Thank you received: 2
Hi
how to set the size of date field ?
LJ
Ce sont les fils qui font les cordes
ingall-niger.org

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

Re: set datefield size 18 Feb 2013 11:11 #6807

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
Hi @LJ01

Does setting the size not work?

I have to admit, I've never specified a size for any calendar control inputs as they always work out OK for me however, your template may be overriding this in it's main CSS.

The calendar control is actually just a text input field that has a bunch of JS attached to apply a datepicker to it. Therefore, it probably gets named slightly differently to your usual #jform_fieldname.

If you have tried specifying it's size but it's not obeying your specifications, try debugging the source HTML in firebug or other dev tools to see what CSS properties/classes are getting applied as well as the input ID of the text input. From there you should either be able to modify your JDom call or CSS to achieve your desired size.

Hope it helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

  • Page:
  • 1
Time to create page: 0.054 seconds

Let me first state that this is an amazing and fascinating product exactly what I was looking for. In just a few hours (listening to the very well made and clearly understandable videos learning doing) I completed and installed my first component. I am now in the second refining phase. I will make a recommenation in JED. Thanks for the effort in creating such a great product. Incidentally some of the best Joomla extension I use are of French origin !
Giori (Forum)

Get Started