fftransform
fftransform

Reputation: 41

Setting Default theme for JQuery through ThemeRoller

I am using JQuery themes in my html. ThemeRoller works correctly and applies right themes. However I want to change the default theme that it sets when Page loads. For example, I want to use the 'Start' theme when html loads. Can anybody please help?

Upvotes: 4

Views: 1335

Answers (3)

Gigo
Gigo

Reputation: 3264

You can use the "loadTheme" option like that:

$("#themeSwitcher").themeswitcher({
    "loadTheme": "Start"
});

Upvotes: 4

duyker
duyker

Reputation: 800

As SLaks suggests, you need do the following:

  1. Download a new theme (jquery theme downloader)

  2. Unzip the files and put them into your website (south-street theme gets copied to: MyWebproject\Content\themes\south-street)

  3. Make a reference in your html to the css:

    <link href="Content/themes/south-street/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css" />

Upvotes: 0

SLaks
SLaks

Reputation: 888283

You need to download the generated CSS and images from the ThemeRoller and reference the CSS in your page.

Upvotes: 0

Related Questions