• 0
Sign in to follow this  
Followers 0

Make Mobile (Responsive) Zoom


Question

Posted · Report post

Hi, I would like to know if it is possible to add zoom functionality to the mobile responsive layout, when viewing on mobiles.

Share this post


Link to post
Share on other sites

12 answers to this question

  • 0

Posted · Report post

Hi,

 

PageLines DMS has been designed so that your site is responsive and therefore, removes the need to pinch/zoom ?

 

If you want to add pinch/zoom for whatever reason, you will need to add the following:

 

<meta name="apple-mobile-web-app-capable" content="yes">

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Client wants the ability, I have tried to explain that it is not needed.

Would i place this in the header?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

yeah, you will probably want to use a hook, don't edit the header file directly, as this is editing core code and will void support, as well as be removed via updates.

 

You could probably try this plugin to add the code, but I haven't tested the plugin - http://wordpress.org/plugins/add-meta-tags/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

That image isn't showing anything and also what do you mean plugin page is showing ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm sorry I meant Doesn't seem to have worked.
The image shows the settings page for the plugin you linked after I added the meta info.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Ok, I'll give it a go. Thanks

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi, I am searching the forum for a solution for a customer who really  needs his site to zoom (he has a lot of low vision readers of his blog).  I have no idea how to use a hook to put the code in that you mention above: <meta name="apple-mobile-web-app-capable" content="yes"> I have read the link at the codex, and still have NO idea how to use a hook.  Is there somewhere I can get a step by step tutorial on how, and where, to use a hook to do enable the pinch zooming on a tablet?  

 

Let me know if I should start another topic? 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Your hook will want to look like this:

 

https://gist.github.com/Dannyholt/f11bb4613e204c7d5b44

 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi, I'm just coming back around to this as yet unsolved issue.  I have no idea where to put that piece of code.  The site I set up for my friend has very little customization, so I didn't use a child theme.  It's pretty much straight up DMS options, just a blog.  He is still really bothered by the lack  of pinch/zoom for his blind/low vision readers and I can't figure out where to put that code.  Can you tell me, as if I were an eight year old, where to put that piece of code that will let the blind people pinch zoom so they will leave me alone? That, or I swear I'm just going to put him on Twenty-Fourteen and wash my hands of it.   I've been at it for hours, and crashed the site once already.  Thanks! 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

The snippet code posted above, is what is called a hook and therefore, needs to be added to the functions.php file. However, please be aware that we do not recommend nor support users who have made changes to the core files. Therefore, the best method for adding this code is to use a child theme and add that snippet of code to the child themes functions.php file.

You can find instructions on how to install a child theme on our answers portal - http://answers.pagelines.com/how-to-install-a-child-theme

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0