jQWidgets Forums

jQuery UI Widgets Forums General Discussions site background color

This topic contains 2 replies, has 2 voices, and was last updated by  gw.roee.bachar 11 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • site background color #28760

    gw.roee.bachar
    Participant

    Hi,

    How can I give my site consistent background color that match the current theme?

    Every time the user changes the theme I would like to set the whole page background with suitable color.

    how can I do that?

    Thanks,

    site background color #28830

    Dimitar
    Participant

    Hello gw.roee.bachar,

    A suitable colour may be the background-color of the jqx-fill-state-pressed class. You may add this class to the body, i.e.:

    var theme = "theme";
    $("body").addClass("jqx-fill-state-pressed-" + theme);

    where “theme” is the name of the current theme, e.g. “arctic”.

    If this colour does not suit you, please check out Theme Builder to see more theme colours.

    Best Regards,
    Dimitar

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

    site background color #28893

    gw.roee.bachar
    Participant

    Thanks Dimitar,

    I found that “jqx-fill-state-normal-” works better for me.
    Thanks for pointing me to this direction

    I had another question that probably suitable to one of jQWidges team.
    maybe you can help it. (it’s at my profile)

    Best,
    Roee

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

You must be logged in to reply to this topic.