Supporting Less In A Child Theme
Posted 26 November 2012 - 11:39 AM
Starting with just the pagelines Base Theme
If I create a new file
and put it in the same place as the above's
I can't see it in the Theme Appearance > Editor when I select Base Theme to edit
I just get the Base Theme css and functions
Q: Should this file go somewhere else - or is there another issue I'm missing.
Seems counter productive to produce a child theme and then put all the LESS code into the Custom CSS/LESS Box in Pagelines Settings
Posted 27 November 2012 - 04:07 AM
Current child themes should have a style.less file. Check your LaunchPad account to see if there's an update. If not, instead of creating a style.less file, (which we cannot support) let's wait for the developer to chime in here. Likely there's a newer version.
Unfortunately, there may be some things that go into a style.less file or other files allowing it to be read by the child theme that we don't know about.
Posted 27 November 2012 - 04:16 AM
Posted 27 November 2012 - 01:08 PM
A starter Child Theme for PageLines.
= 1.0.2 =
So I was wondering....
If you adapt this base theme ie write your own, using the custom code editor to test both CSS and LESS
I can see the CSS would eventually end up in the child theme style.css file
but what about the LESS code? and what is the correct way to bring that style.less file into the child theme
Posted 27 November 2012 - 01:53 PM
Make your theme using the custom css box, when your happy with it, copy the contents of that box into the style.less file in your child theme and remove it from the customcss box.
Posted 27 November 2012 - 05:56 PM
does the style.less file just go loose in the child theme folder?
if it does - is it automatically picked up by the child theme, or do you need some import code to go anywhere?