Custom css codes for widget not working.

  • AgilityAssoc.Canada
    Asked on December 22, 2017 at 10:23 AM

    Hi,

    I'm trying to add some custom css to a widget and I'm not getting it to work.

    73543534108959, ddSlick Dropdown. 

    .dd-selected-value, .dd-selected-text

    {  font-size:14pt;  color:#cd0000;}


    .dd-pointer, .dd-pointer-down{

      color : #FF4444;  font-size:12pt;}


    Thanks Robert

  • Richie JotForm Support
    Replied on December 22, 2017 at 11:54 AM

    Do you want your dropdown list items to be colored red?

    Custom css codes for widget not working Screenshot 30

    You can use this code in your widget.

    .dd-option{
    color:#cd0000;
    font-size:14px;
    }

    then the pointer down

    Custom css codes for widget not working Screenshot 41

    .dd-pointer-down{
    border-top: solid 5px #FF4444;
     font-size:12px;
    }

    Hope this information helps.

  • AgilityAssoc.Canada
    Replied on December 22, 2017 at 12:56 PM

    Hi,

    That did it except for the down arrow size, I can't get it larger using font-size. It really no big deal I am more curious then anything else.

    Thank you, Robert

  • David JotForm Support Manager
    Replied on December 22, 2017 at 2:28 PM

    Try using this code: https://www.jotform.com/help/428-How-to-Inject-CSS-Codes-to-Widgets 

    .dd-pointer-down,.dd-pointer-up {

        transform: scale(1.5);

    }

    Result:

    1513970815result 001 Screenshot 10

  • AgilityAssoc.Canada
    Replied on December 23, 2017 at 10:18 AM

    Hi,  ... Got-It,  Thank you, Regards, Robert

  • Adrian
    Replied on December 23, 2017 at 10:56 AM

    Glad we could help. If you have any other request, let us know.