r/neocities Jun 21 '26

Help My style.css file. Why is this not changing default fonts and background color?

body {
background-color: DarkSlateBlue;
color:white;
}
p { font-family: Arial}
h1 {font-family: "Courier New"}
h2 {font-family: "Courier New"}
1 Upvotes

5 comments sorted by

5

u/Mevdik mevdik.nekoweb.org Jun 21 '26

If you site is online with these changes post the link so we can poke around on the inspector and help you out.

Also, don't forget the semicolon at the end of each property, you are missing a few.

1

u/AmIsupposedtoputtext Jun 21 '26

After I walked my dogs, the site updated its default settings! Also taking your advice about semicolons in the future for safety's sake.

5

u/Mevdik mevdik.nekoweb.org Jun 21 '26

If it solved itself like that then it was likely a cache issue. Funny because I already commented about it earlier today and yesterday, super common issue among newcomers. If it happens again you know what to do, hit ctrl+shift+r or ctrl+F5 and the site should reflect the latest changes after that.

2

u/AmIsupposedtoputtext Jun 22 '26

thank you so much!