WordPress.org

Forums

Lupercalia
[resolved] Allowing 'Enable Zoom' on small devices (4 posts)

  1. bluebyro
    Member
    Posted 10 months ago #

    Hello José,

    I think the theme currently has 'Enable Zoom' disabled in the coding.
    Is there any way to override this in the coding?

    Whilst I understand the theme has been designed to have a 'responsive fit' for smaller mobile devices, it sometimes makes accessibility easier to be able to manually zoom in on an image or text.

    I was able to override it on my device by going into the browser (Chrome) and under Settings > Accessibility > Force Enable Zoom, and ticking the box.

    However, many of my older (sight impaired) friends may not be as able to do this so easily on their devices.

    Please let me know if there is a way to edit the coding to make it possible. Many thanks.

  2. José Leonardo
    Member
    Theme Author

    Posted 10 months ago #

    Hi bluebyro,

    yes, it's possible and very easy to do, although I don't think it is a good idea.

    But here is how you should proceed:

    Open your header.php file;
    File the <meta name="viewport">;
    Edit the very end of this line, changing the attribute "user-scalable" from "no" to "yes".

    I think this will be enough to achive your goal.

    Tell me if this worked.

    ;)

  3. bluebyro
    Member
    Posted 10 months ago #

    Hello again José,

    Thanks, the information you provided worked.
    It only increased a little bit, so I guessed that changing the 'maximum-scale=1.2' to 2.0 increased the zoom-ability on the handheld device.

    I know it allows visual change to the streamlined look of the site on a handheld device, but it does help those who require reading glasses!

    Many thanks.

  4. José Leonardo
    Member
    Theme Author

    Posted 10 months ago #

    I'm glad it worked :)

Reply

You must log in to post.

About this Theme

About this Topic