I noticed the new Custom CSS thing, so of course the first thing I tried to do with it was add the web fonts I use on the main portion of my site using CSS imports.
However, that doesn't work; imports have to be the first lines in a CSS block (contradicted by having the Emoji render size come up first), and the custom CSS function loads it into the header via <style> tags, which in my opinion is a messy practice.
Something should be done to address this. We should be able to add custom code to the header too for loading custom scripts and stylesheets to make it easier to do embed things like this (I can forsee other uses too), and the custom CSS should be loaded using a standard <link rel="stylesheet" type="text/css" href="/include/customcss.php" /> or something to that effect.
<link rel="stylesheet" type="text/css" href="/include/customcss.php" />
Last edited by Lirodon (20 May 2016 15:35)
I'd have thought that that if you were going to add custom stylesheets, whole ones, that you'd just edit the header file. Or create a child theme that just addresses this.
Well, Custom CSS was never ment for major changes to styles. That feature was added for minor manipulation of themes.
You can do anything
I ended up doing that instead, as I had done before (though I still used custom CSS to work around my host's aggressive CSS caching). Montserrat actually looks good on Fifteen.
I would like to point out that Luna 2.0.2 will put Custom CSS before the emoji setting.
It is better to use a child theme.
- snip -
Last edited by Vadim (21 May 2016 16:45)
I do not understand the code. I am learning English.