Can I create an external SASS style sheet, and where would I put it?
-
I maintain a blog for my religious congregation that supports an annual benefit auction, and this is the 2nd year I have used WordPress to do it. I use STAY (so styled, it’s unrecognizeable) with Custom Design.
I change the styles every year but retain the previous years’ styling because we retain past auction info and it’s nice to keep their “branding.” So the style sheet is getting very unwieldy. I’ve implemented SASS to some extent, but the result is still gnarly, increasingly so.
I would like to be able to use the @import command to simplify the styling (eg putting past years’ formatting in remote files), but I understand that this gambit doesn’t work when SASS is involved unless the files are all in the same directory. For many reasons, including custom upgrade costs, I don’t want to create a new blog for each year.
Is there any way to post external files in the directory where the custom design file would look for .sass files to import? (Not being an expert, I don’t know whether this would be the same directory as where the default CSS is located, or the directory where the custom CSS is located – presumably the latter.)
The blog I need help with is: (visible only to logged in users)
-
HI there,
No, I’m afraid that you cannot upload separate style sheets and call them using WordPress.com. You will need to still enter all of your code directly in to the one interface which we’ve provided.
You’re not wrong however, that it can prove to be problematic if you are continuing to add to the same stylesheet without removing your previous years’ modifications. You may want to consider archiving your previous changes to keep the file as small as possible and load time down.
~Ash.
-
-
It depends on what you mean by “webspace.” Any files which are uploaded to a WordPress.com blog are going to be web-viewable, however keep in mind that this is the case on most web hosts as well. If however you mean a WordPress.com blog which has been archived (deleted) itself, once that blog has been taken offline, all of its files will cease to be available online.
You can read about how to do so right here:
- The topic ‘Can I create an external SASS style sheet, and where would I put it?’ is closed to new replies.