M.L. Martin
asked on
Css does not display correctly
I created a webforms website in VIsual Studio 2015 RC (Did the same thing in VIsual Studio 2013). I uploaded to website to my hosting provider. The site runs fine but some of the CSS I changed in bootstrap.css works great on my local machine but does not render on my webhose provider. Here is a link. http://dmartinm2014-001-site2.smarterasp.net/default.aspx
The black navigation bar has been changed to blue. The SpeedMaster TFC in the navigation bar has been changed to show pink. This all displays perfectly on my laptop but not with my hosting provider. I tried two different providers: A regular asp.net hosting provider and windows Azure Cloud. The same thing happens on both. Here is my CSS code that I changed:
/*big bar top*/
.navbar-inverse {
background-color: #49649b;
border-color: #080808;
}
/*title plus text input main bar*/
.navbar-inverse .navbar-brand {
color: #f971e9;
}
/*onelove_text in bar color before hover*/
.navbar-inverse .navbar-nav > li > a {
color: #ffffff;
}
/*onelove_text color on hover*/
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
color: #999999;
background-color: transparent;
This is how my Sitemaster points to the bundles:
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/ modernizr" ) %>
</asp:PlaceHolder>
<webopt:bundlereference runat="server" path="~/Content/css" />
A friend suggested I change the following but I didn't think I need to do that:
"server" path="~/Content/css" />
Content is the folder with all of the CSS files.
The black navigation bar has been changed to blue. The SpeedMaster TFC in the navigation bar has been changed to show pink. This all displays perfectly on my laptop but not with my hosting provider. I tried two different providers: A regular asp.net hosting provider and windows Azure Cloud. The same thing happens on both. Here is my CSS code that I changed:
/*big bar top*/
.navbar-inverse {
background-color: #49649b;
border-color: #080808;
}
/*title plus text input main bar*/
.navbar-inverse .navbar-brand {
color: #f971e9;
}
/*onelove_text in bar color before hover*/
.navbar-inverse .navbar-nav > li > a {
color: #ffffff;
}
/*onelove_text color on hover*/
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
color: #999999;
background-color: transparent;
This is how my Sitemaster points to the bundles:
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/
</asp:PlaceHolder>
<webopt:bundlereference runat="server" path="~/Content/css" />
A friend suggested I change the following but I didn't think I need to do that:
"server" path="~/Content/css" />
Content is the folder with all of the CSS files.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER