Jaylo
Jaylo

Reputation: 21

Local css working but server isn't - is this to do with bundling / debug?

The following is a section of code take directly from my CSS. On my local build it's working just how it should creating 3 borders around the main display. However when published on my server the CSS isn't taking any effect. Even the radius - it's almost like it's getting overwritten and I'm not sure how I can fix it. I'm fairly new to the scene and am happy to provide any useful information I can to help find the issue. My question is why would it be overwritten when live but not on local - would this be something to do with debug mode maybe?

Note: after disabling debug mode in web.config it's also not working.

.container-fluid .jumbotron {
    border-radius: 25px;
    padding-right: 15px;
    padding-left: 15px;
    box-shadow: 
        0 0 0 3px #FFC800, 
        0 0 0 6px #FF7801,
        0 0 0 9px #D70000;

Upvotes: 1

Views: 27

Answers (1)

Jaylo
Jaylo

Reputation: 21

This was fixed with BundleTable.EnableOptimizations = False within application start.

Upvotes: 1

Related Questions