Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
The quote below is from another post about editable css regions, is it still possible though when implementing SASS or LESS?

here is the other post -- https://www.couchcms.com/forum/viewtopic.php?f=2&t=7406

We can easily convert the .css file into a bonafide Couch managed template (and hence be able to define and use within it all the editable regions that you might require).

For example, if your site has a stylesheet named styles.css, rename it to styles.php, place the require_once and invoke statements to turn it into a regular Couch managed template.

Make sure to place the following statement just below the require_once
<cms:content_type 'text/css' />

You can now link all files to styles.php instead of styles.css. e.g.
<link rel="stylesheet" href="http://www.yoursite.com/css/styles.php" type="text/css" />

Hope this helps.
Afaik, SASS/LESS got to be compiled into CSS files before serving to the user. Can you provide more details?
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
I have a client who may possibly want to be able to edit the hard coded back end images through CSS, but since I am using SASS I was wondering if by changing the CSS file to the PHP file as mentions in another post, would alter any code that is implemented through SASS when I do make the styles?

Hopefully, that makes sense.
3 posts Page 1 of 1
cron