Home Forums Basel support forum user-scalable=no

user-scalable=no

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #519724

    Tuomo
    Participant

    Hi there,

    How can I change user scalable in Basel theme?
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    This is found in header.php, but how could I transfer some part of the code to functions.php?

    Attachments:
    You must be logged in to view attached files.
    #519739

    Artem Temos
    Keymaster

    Hello,

    You can override this file in the child theme and make your adjustments there. basel-child/header.php.

    Kind Regards

    #519768

    Tuomo
    Participant

    Thanks!
    Do you know what is the recommended maximum-scale?
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes”>

    #519801

    Artem Temos
    Keymaster

    We don’t recommend to change this tag at all. But you can of course set any value there if you want.

    #519812

    Tuomo
    Participant

    Why not? Is this slowing the speed of the website or?
    This is recommended by google that zoom should be possible for people who have bad eyesight.

    #520256

    Artem Temos
    Keymaster

    It will not affect the performance but we usually don’t recommend doing such customizations in the theme. Anyway, you can do this at your risk.

    Kind Regards

    #521784

    Tuomo
    Participant

    Hi Artem,

    Okay.
    Everything works just fine and this works just fine for google:
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes”>

    Maybe less scale works as well, but I am going with that.

    Best Regards,
    Tuomo Nurkkala

    #521855

    Artem Temos
    Keymaster

    Hello,

    Great, we are glad that you sorted it out! Feel free to contact us if you have any further questions.

    Kind Regards

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘user-scalable=no’ is closed to new replies.