Okay
  Public Ticket #2937480
How to change <meta> scalability
Closed

Comments

  • Dario Belenfante started the conversation

    Hello,

    We just got a recent audit of our website.  Under accessibility we failed in one critical area,  In the meta tag scalability is set to NO.   I have looked thru all of the files to find it but I cannot.  The audit says:  

    [user-scalable="no"] is used in the <meta name="viewport"> element or the [maximum-scale] attribute is less than 5.

    Disabling zooming is problematic for users with low vision who rely on screen magnification to properly see the contents of a web page. 

    Where can I change this parameter or is there something special I can write into the functions.php ?

    I would really appreciate your help.


    Thank you,


    Dario

  •  1,798
    Support Agent replied

    Hi!

    Thank you for contacting us.

    Changing files is always tricky, because something can go wrong. We don't recommend doing it.

    It is out of the support scope, so you must do it on your own responsibility. If something goes wrong, we cannot offer a support.

    Once again, we don't recommend doing it.

    If you decide to change the file, we strongly recommend that you make a backup copy of it before changing it.

    Try to remove the user-scalable="no" parameter from the viewport meta tag and make sure the maximum-scale parameter is set to 5 or greater.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Dario Belenfante replied

    Hello,

    What I need to know is exactly which file I have to edit.   I have reviewed a bunch of files and it is not listed.  I think this meta is dynamically generated by PHP.   If you can tell me which file to edit, I will backup the site and test.

    Thank you,

  •  1,798
    Support Agent replied

    Hi!

    It should be in some header php file.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Dario Belenfante replied

    Sir,

       Yes, it should be in some header file.  I have checked the header.php, in fact i have checked dozens of files.  That is why I am asking you specifically where to access this line because you afterall made the theme.

       If you do not know how to edit this meta tag, please let me know.


    Cheers,

    Dario

  •  1,798
    Support Agent replied

    Hi!

    We looked for it in our files. We don't find it.

    Please note that changing original files is out of the scope of the support.

    Try to just put it in a header files. But please make a backup copy, in case something went wrong.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!