jQWidgets Forums

jQuery UI Widgets Forums Lists ListBox Listbox Styles

This topic contains 4 replies, has 2 voices, and was last updated by  Shamanth 12 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Listbox Styles #22123

    Shamanth
    Member

    Hi,

    How can I change the font-size and font-style for the items in the Listbox, currently when I check the jqx.base.css file, it is set to “13px” and when I change it for “.jqx-listitem-state-normal” in the .css file it is not taking the changed value.

    Please let me know how and what should I edit to change the font-size and font-style for the items in the list box.

    Listbox Styles #22125

    Dimitar
    Participant

    Hello

    Please add the following style to your page:

    <style type="text/css">
    .jqx-listitem-state-normal
    {
    font-size: 17px;
    font-family: Times New Roman;
    }
    </style>

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Listbox Styles #22186

    Shamanth
    Member

    Hi Dimitar,

    Thanks for your reply and the solution worked fine.

    But I have one question: Can I add the above mentioned style in a separate .css file (other than the jqx.base.css).

    Thanks
    Shamanth

    Listbox Styles #22391

    Dimitar
    Participant

    Hi Shamanth,

    Yes, you can, but you should include it below jqx.base.css, so that the new style takes precedence.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Listbox Styles #22419

    Shamanth
    Member

    Ok, Sure I will follow this, thanks for the reply!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.