• I am almost near to complete with a score of 5 the https://ready.mobi test with my twentytwelve theme but I have this error.

    MAJOR FAIL | CSS measurements | Absolute dimensions and positions in CSS directives should be avoided as they will not render correctly on all device types

    CSS absolute measurements found in style.css

    So if I remove all the code within this css file, the test passes.

    How to fix this? They say to visit : https://mobiforge.com/design-development/fixit-measures

    Basically they say to get rid of all px measurements and add em, and I guess rem is also good.

    So my question to you is: how can I replace all the pixels inside this css file because I also want to get css updates on this theme?

    Is there any way that you will remove px measurement in a next update and add relative measurement ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You don’t want images to be 200px x 200px… Rather 100% or 50% of containing <div>

    You want your site to be responsive, not “absolute”

    Hope this helps a little.

    Thread Starter paulalexandru

    (@paulalexandru)

    It doesn’t help at all. Nowhere I said that I need to keep 200px/200px images and nowhere I said that I want my website to be “absolute” and not responsive.

    Are you sure you did not want to post this answer to a different question and you post it here by mistake?

    Anyways, if you are here, you might want to take a look on my question..you might know the answer.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS absolute measurements’ is closed to new replies.