Adding A Custom Less File Only To Specific Layout Page

I need to make changes to one specific Layout page and I'm wondering if it's possible to point to a copy of a .less files for that specific layout only?

The way I was thinking I can possibly do it is make a copy of "grid.less" for example, and link to the copy in the settings of the Layout page under "Custom HTML code" like so:

...But it doesn't seem to work

Anyway to change a less file only for one layout?

Thanks.

I need to make changes to one specific Layout page and I'm wondering if it's possible to point to a copy of a .less files for that specific layout only?

The way I was thinking I can possibly do it is make a copy of "grid.less" for example, and link to the copy in the settings of the Layout page under "Custom HTML code" like so:

...But it doesn't seem to work

Anyway to change a less file only for one layout?

Thanks.

Hello! You should put this code:


            

As alternative, you can create HTML block on this layout page and use < style > tag to add extra styles

Thanks beencart, but it still doesn't work. It doesn't recognize changes I do to that grid.less file in my changes.

eCom: That would work for regular css, but as you suggested in another thread, I would need to modify the less as I need to modify the grid and that requires .less mathematical operators.

Thanks beencart, but it still doesn't work. It doesn't recognize changes I do to that grid.less file in my changes.

Is your file included? Probably the styles are not overwritten because you need to use "!important" etc.

eCom: That would work for regular css, but as you suggested in another thread, I would need to modify the less as I need to modify the grid and that requires .less mathematical operators.

Note that you you can add extra class to the main grid

http://prntscr.com/g1aobt

Just use common styles.less file of your addon but add rules for your new class. In this case they will be applied on this page only