Support » Plugin: WP-LESS » Problem with @import

  • Hi there,

    I’ve been having this issue when importing another less file. It seems when the target file has been imported previously in another file, it won’t be imported into this file.

    To give some context…
    I have main.less, _desktop.less, _mobile.less, iefix.less. The desktop and mobile styles are meant to be imported in main.less inside media queries. And in order to cater for IE, I have iefix.less enqueued after main.less where I import desktop styles again to fill in the gap when old IE ignores media queries.

    However the _desktop.less is completely ignored in the iefix outcome. When I tried to enqueue iefix before main style, it happened in the latter.

    Can someone help please? Thanks!

    https://wordpress.org/plugins/wp-less/

  • The topic ‘Problem with @import’ is closed to new replies.