Clarification for less_files

Posted in: Newsmag
Post count: 16

Hi, I had a look at the new version of Newsmag v2.2, I read that there are some new features for less_files. I installed the new version is I tried to change a less_files to see if it really worked, but I realized that nothing happens, then I realized that less_files are still disabled right?

I would like to know when less_files will actually work, because my site has many changes in style css, then you should redo any changes in less_files, I worked in theme with less_files so this for me is not a problem, just let me know when I should do this “big job” to better plan everything with my team

Sorry for my bad English. Greetings and good work

Post count: 16

Up!
Why less_files not work? less_files the disabled? When we have a version with less_files running?
The less_files serve to create a CSS style better and lighter, I do not understand, if the less_files do not work because they are included in the thema? what is the reason?

Post count: 6535

Hi

The theme uses the style.css file while runs on deploy mode, and to use the less files you need to switch on dev mode like here: http://screencast.com/t/29Z50apqX Note that if you will switch on dev mode the style.css file it’s not used anymore and all customization that you made must be added in less files. By default all code from less files is compiled in style.css file and I suggest you to use that file because the page will load only one file.
Before you do any changes make sure you backup your database and especially for the style.css file, in case something goes wrong: https://codex.wordpress.org/Backing_Up_Your_Database

Thanks!

Post count: 16

Hi Andrei L.

I wanted to know one more thing, you are working on a next update of Newsmag using less file by default? is an update that you’re planning?

Post count: 6535

Hi

We use the less files in theme’s development process and at the end contents of these files it’s compiled in style.css We don’t intent to release a theme update that will use less files instead of style.css

Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.