Custom font for Placeholder?

  • Profile Image
    vincentccw
    Asked on August 01, 2013 at 03:47 AM

    How do you add custom font into the placeholder? Right now I'm using the default value to each of the field that's why it is showing....

    I was able to use my custom font set while filling in the details, it's just the placeholders go blank when I replace with my custom font.

  • Profile Image
    EltonCris
    Answered on August 01, 2013 at 04:35 AM

    Hi,

    Use the following CSS codes.

    input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {

    font-family: 'din-lightregular';

    }

    input:-moz-placeholder, textarea:-moz-placeholder {

    font-family: 'din-lightregular';

    }

    Guide: How to Inject Custom CSS Codes to your Form

    Hope this helps. Thanks!

  • Profile Image
    vincentccw
    Answered on August 01, 2013 at 04:51 AM

    Thanks it is working now! =)

  • Profile Image
    gori-mathew
    Answered on August 01, 2013 at 05:01 AM

    You are welcome, do let us know if you need further assistance.

    Thanks!