Ready to get started?Download WordPress


semantic.gs - getting px instead of percentage (3 posts)

  1. devotee
    Posted 2 years ago #

    I´m using wp-less with semantic.gs in a wp 3.3.1 installation. The .less compiles correctly if I´m using a fixed grid, but when using a fluid grid the values are outputted in px format instead of percentage like it should be.

    I´ve seen on forums that other people have this problem as well but I cant find any solution. Is there any?


  2. devotee
    Posted 2 years ago #

    I replaced lessc.inc.php with the most recent version that I found here: https://github.com/leafo/lessphp/blob/master/lessc.inc.php

    Now when I check the css, it shows in percentage. However the grid is not fluid, and checking 'calculated styles' it is somehow still calculated in px.


  3. devotee
    Posted 2 years ago #

    Oh never mind that, I had my grid inside a fixed size wrapper. Anyway, the lessc.inc.php I linked to on github takes care of this problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic