Brandon McPeak
Brandon McPeak

Reputation: 69

Styles have disappeared despite being referenced correctly

Help!!! My worst nightmare has come true. My site is broken. It happened after attempting to install some PHP scripts to automatically minify and concatenate CSS and JS files. These were MISER and Minify. Each one created problems, so I took them out. Now none of the styles are showing, despite the fact that the CSS files are referenced properly. I had backed up the site prior to making these changes, but restoring the backup does nothing to fix the problem. Does anyone have any ideas? I am in crisis mode and nothing I do seems to fix the problem!

Upvotes: 0

Views: 57

Answers (2)

bilcker
bilcker

Reputation: 1130

<link href="/themes/C5-LR/css/foundation.css'); ?>" rel="stylesheet">
<link href="/themes/C5-LR/typography.css'); ?>" rel="stylesheet">
<link href="/themes/C5-LR/css/main.css'); ?>" rel="stylesheet">

All these links are broken, remove ); and you should be good just like the above answer. You only need to reference those if you are using an

@import url('some-css-file.css');

instead of

Upvotes: 1

datasage
datasage

Reputation: 19573

The following code is invalid:

<link rel="stylesheet" href="/themes/C5-LR/css/foundation.css'); ?>" />
<link rel="stylesheet" href="/themes/C5-LR/typography.css'); ?>" />
<link rel="stylesheet" href="/themes/C5-LR/css/main.css'); ?>" />

'); ?> should be removed in each link.

Upvotes: 4

Related Questions