0

How can I style the Date Module as noted in the image below? Which hooks/functions would be involved?

Is there a better Date input widget for Drupal 7?

I'm using Drupal 7 and the Date module is currently 7.x-2.0-alpha4.

Changes I Would Like To Make.

2

I'd have to see the html, but find the class that wraps each field (the border is applied to that) and use a float left with some right margin. Find what class wraps both of them and apply overflow:hidden to that. The fields should now look like what you want.

  • This coupled with drupal_add_css(drupal_get_path('module', 'module_name') . '/path/file.css') worked beautifully. – Citricguy Oct 8 '11 at 2:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.