I cannot manage to get the theme somrat to work like the example here : https://somrat.netlify.app/
Indeed, when I download the source code from the git repo here :
there a re two problems :
- the portfolio is not working properly, I cannot seem to click only one category
- the underlying menu doesn’t seem to follow exactly the good section,
it looks to me that the source code is not the same, does anyone see what is the problem ?
thanks a lot,
Thanks very much !!! Indeed, I did what you advised, and yes there is an error message :
La ressource à l’adresse « http://localhost:1313/plugins/fontawesome/font-awesome.min.css » a été bloquée en raison d’un type MIME (« text/plain ») incorrect (X-Content-Type-Options: nosniff).
which translates more or less like
The ressource at the adress « http://localhost:1313/plugins/fontawesome/font-awesome.min.css » was blocked because a type MIME (« text/plain ») which was incorrect (X-Content-Type-Options: nosniff).
but what does that really mean ? and mostimportantly, is there a way to solve this problem ?
thanks a lot!
This means, that by setting a Content Security Policy of “X-Content-Type-Options: nosniff” you disallow the browser to find out, what the css files content type is. It must assume that it’s a plain text file and that is wrong, because the right content type for stylesheets is text/stylesheet. I would remove the nosniff option in your CSP.