Closed kardusenor closed 2 years ago
It sounds like the old CSS file is stuck in your browser's cache.
Try hitting Cmd-Shift-R
(Mac) or Ctrl-Shift-R
(Linux, Windows) to force the browser to load the new CSS file.
If all else fails you can change the
<link rel="stylesheet" href="@root/assets/theme.css">
line in the theme's node.ibis
file to
<link rel="stylesheet" href="@root/assets/theme.css?timestamp={{ site.timestamp }}">
to add a cache-busting timestamp. That should force the browser to reload the CSS after every build.
It sounds like the old CSS file is stuck in your browser's cache.
Try hitting
Cmd-Shift-R
(Mac) orCtrl-Shift-R
(Linux, Windows) to force the browser to load the new CSS file.If all else fails you can change the
<link rel="stylesheet" href="@root/assets/theme.css">
line in the theme's
node.ibis
file to<link rel="stylesheet" href="@root/assets/theme.css?timestamp={{ site.timestamp }}">
to add a cache-busting timestamp. That should force the browser to reload the CSS after every build.
Fixed. Thanks!
I am trying to add Chinese fonts in
graphite
theme. I have downloaded necessary fonts infonts\
folder and add it tofonts.css
. After that, I tried to changegraphite.css
file's 57th line (maybe different in your device), fromfont-family: 'Crimson Text', Georgia, serif;
tofont-family: 'LXGW WenKai', sans-serif
, but it didn't work after build and serve.