CSS Stylesheets

David Pearson asked on June 5, 2015 20:46

When a new css stylesheet is created using the CSS Stylesheets module where is the file stored?

Javascript files are store in CMSSCripts/Custom.

Thanks David

Recent Answers


David Pearson answered on June 5, 2015 20:49

Never mind just found how to access the file.
~/CMSPages/GetCSS.aspx?stylesheetname=

0 votesVote for this answer Mark as a Correct answer

MyPoint CreditUnion answered on June 5, 2015 22:00

Just an example, but what I do is store my CSS in a media library, then just add:

to the head of my master template. This allows me to use my beloved Sublime Text for editing.

There is 1 slight issue, when you do a staging push sometimes the sheets don't travel up (maybe 1 out of 10 times). For this reason, whenever I do a push, I have to go in and manually trigger the media libraries to sync. All I use the media library for is for is 2 or 3 sheets so it only adds maybe 15 seconds to my work. The benefit is I never touch the built-in Kentico editor.

Gotta have my syntax highlighting!

0 votesVote for this answer Mark as a Correct answer

Charles Matvchuk answered on June 6, 2015 04:50

@Ryan, what a great idea, definitely going to try that.

0 votesVote for this answer Mark as a Correct answer

David Pearson answered on June 8, 2015 13:48

I am setting up my Javascript files and CSS to lazy load for Google SEO. This is were the files load after all the other content loaded.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.