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.052 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started