I am coding a newspaper website, and I want to make a directory for the articles
I have copied the code from article's to the article directory and cleared the articles out of the code to put a story in its place.
When you load articles the css loads:
https://reedycreektimes.com/articlesBut when you load it through article it doesn't:
https://reedycreektimes.com/article/templte.html
Please help me: here's the repo
https://github.com/reedycreektimes/reedycreektimes.github.io
CodePudding user response:
You should set absolute path for your css.
/css/media.css
# not
css/media.css
The latter would work fine from the root path of the site, not from a subpath/subfolder.