Made a custom .css file in a theme variant folder. It worked as expected on the forum pages. But calling the same template areas in the ssi program as follows
$ssi_layers = array('html','body');
did not include the custom css file.
I know the SSI program could add the custom css file explicitly but I think the expected behavior by default should be that SSI renders the theme the same way the forum does.
Actually...I think there are two problems with the custom.css code:
1) it should go into the if ($default_loaded === false) block,
2) it is not loaded if there are no variants.
I think the code should look like:
ETA: that won't work...
ETA2: removed what I posted before because was badly broken, this is a better one:
https://github.com/emanuele45/Dialogo/commit/caee1a4925e91ba0f25aef2874760a1fcb52c723
Hi Emanuele,
:) OK, I am in the dark about this custom.css file. When would I use something like that?
I'll let
@TE "speak" about it from this topic:
http://www.elkarte.net/community/index.php?topic=1103.0
O:-)
Thanks again! I now have a better grasp on the matter.
:)
Just edited in the change and confirmed the SSI page is now loading the custom.css. Thanks.