Css code to hide the year section in Birthday picker.

  • Profile Image
    scottd1
    Asked on December 01, 2017 at 06:33 AM
    - date of birth field - As per your recommendation, I have replaced the DoB field with the birthdate picker widget. Can you please supply the CSS code to hide the year section of the field?
  • Profile Image
    ashwin_d
    Answered on December 01, 2017 at 06:39 AM

    I have injected the following custom css code in your form to hide the year dropdown:

    select#input_14_year, #sublabel_year {

        display: none;

    }

    Please check the screenshot below:

    undefined1512128346noYear.png