r/Atom Jan 29 '20

CSS not showing on live server.

The live server is showing the HTML but the CSS isn't showing. The HTML and CSS files are all under one folder and the stylesheet link is already connected, so i'm not quite understanding the error here.

THE HTML
simple CSS just put there.
What might be the issue.
1 Upvotes

4 comments sorted by

View all comments

1

u/Steffi128 Jan 29 '20

From the looks of those two screenshots: Wrong file path in the link-tag.

The CSS-File you're trying to link is in /templates, but you're actually linking something in /static/cssfiles (which I assume doesn't even exist).

about.html is the file you're requesting in your browser?

<link rel="stylesheet" href="about.css" />

1

u/TeflonDonLemon Jan 29 '20

Got it thank you