RE: Theme Improvements/New Theme 05-22-2016, 09:20 PM
#23
(05-22-2016, 07:58 PM)Stocking Wrote: That's not quite how Stylish works... Stylish injects a stylesheet with your styles into a page when the onload event is triggered. As such, the page can't access your custom fonts. You need to host the font else where, and write a font face rule in your CSS linking back to your font for that to work. Here's a rough example of how you can write the rule:
Code:@font-face { font-family: Name; src: local("Name"), url("./path.type") format("type"); }
Spoiler: Real use example (taken directly from my server's CDN dir)
Code:@font-face { font-family: Bravissima; src: local("Bravissima"), url("./Bravissima.woff") format("woff"); }
Misread.
Tell me the selector you're using, and I can fix the attribute for you. Could possibly need to use !important.
Is it bad that I don't know what a selector is? Here's the page displaying all of the code and options I have set for Sinisterly: http://i.imgur.com/clv5vGd.png



![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)