problems using redmon theme (1.11.3), style not being applied
Hi All,
I am using asp.net mvc 4 with jquery, and i am trying to use the redmon theme. I have downloaded this from the site and here is what i have done:
1. Under Content/Themes I have created a folder called : redmond
2. Under Content/Themes/redmond I have copied the following content from the jquery ui theme roller .zip file:
a)image folder
b)jquery-ui.css
c)jquery-ui.js
d)jquery-ui.structure.css
e)jquery-ui.theme.css
3. Then I created the bundles:
-
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Content/themes/redmon/jquery-ui.js"));
bundles.Add(new StyleBundle("~/Content/themes/redmon").Include(
"~/Content/themes/redmon/jquery-ui.css",
"~/Content/themes/redmon/jquery-ui.structure.css",
"~/Content/themes/redmon/jquery-ui.theme.css"));
-
4. Followed by adding the reference to the bundles
-
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Styles.Render("~/Content/themes/redmon")
@Scripts.Render("~/bundles/modernizr")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryui")
<script src="~/Scripts/knockout-3.2.0.js"></script>
</head>
-
5. Finally I created a select menu but the
style is not being applied.
-
<select name="test" id="test">
<option selected="selected">Option 1</option>
<option>Option 2</option>
</select>
I would really appreciate it if someone could let me know what i did wrong.
many thanks