• My stylesheet work perfectly with LESS and I would like to change some variable dynamicly. I found rapidly you can do that with this simple code:

    less.modifyVars({
        '@base': '#fff'
    });

    It’s work, but unfortunatly… not on wordpress. He doesn’t gave me error. He just do nothing. Can you help me?

    Before you ask: Yes I imported the last version of less.js.

    [Sorry for my english, it’s not my fisrt language.]

    https://ww.wp.xz.cn/plugins/wp-less/

The topic ‘How to modify variables (LESS)’ is closed to new replies.