Jump to content
Sign in to follow this  

Mobile responsive theme and zoom capability

Recommended Posts


The responsive mobile theme built into pagelines is excellent, but there's one thing I'm curious about. 


I see that content-width, when viewed from a mobile device, is 100% of the width. And that's great. But many of my readers say that they can't zoom in on pictures. Is there any way to enable them to zoom when viewing from their phone? thanks!


if so, could you point me in the right direction as far as CSS selectors and/or anything else you might be familiar with?

Share this post

Link to post
Share on other sites

If I remember correctly, this is set with the viewport in the HTML meta settings.  You'll want to remove the initial-scale=1.0



correction: in every other WP theme that I've found that is responsive, you'd go into the header.php and change the user-scalable=no to "yes" --- but I can't find that in Pagelines Framework.

Have to wait for a mod.

Share this post

Link to post
Share on other sites

Hi Brightonkeller


do you have a link to your website we can see this on? 

The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 


Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post

Link to post
Share on other sites

Brighton, I just looked at your site on my Samsung Galaxy III and after a rather slow load for all the images, I was able to use the standard method of stretching an image without any difficulty.  I could pinch to shrink, spread to expand with prompt results.  I tried many of the pics on your homepage.


Are your customers saying that his happens on a particular type of mobile device, like an iPhone, iPad, Kindle, etc?

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Hey Rob,


I think most of the viewers that have contacted me are using an iphone. But now I'm more concerned with the slow load time. Shoot. I have been working on my page loading speed for months now and thought I had finally gotten somewhere! ha. I'm using a CDN, smaller images (550px width compressed in photoshop), and limited my number of plugins. Maybe I need to start another discussion top here, but off the top of your head, do you have any immediate suggestions that come to mind? (when you viewed my site)

Share this post

Link to post
Share on other sites
James B

Hi Brighton


I've just tested on an iphone and the images have loaded quite quickly, nothing seemed to take long time, as i scrolled down the pages subsequent images came up the same.


The only instance of the viewport/zooming code I can find is in library.templates.php file.


Removes viewport scaling on Phones, Tablets, etc.
    if(!ploption('disable_mobile_view', $oset) && !apply_filters( 'disable_mobile_view', '' ))
        echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />';


I've also found this article in case it helps, I think this explains what the Framework does, it uses css scaling instead of allowing the zoom feature. http://www.hongkiat.com/blog/responsive-for-mobile-screens/

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

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  

  • Similar Content

    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using the LESS/CSS Pagelines extension and tried to add the following code to make use of FontAwesome:
      a.c2a:before {
          content: "\f07a\00a0";
          font-family: "Font Awesome 5 Pro";
          Font-weight: 900;
          font-style: normal;
          font-weight: normal;
          text-decoration: inherit;
          padding-left: 4px;
      The issue is that as soon as I have the CSS via the Custom Styling text box, Pagelines (or the extension) strips out the backslashes (\). As a result, I had to abandon the CSS/LESS extension and instead add all my CSS code to a separate .css file.
      Is there a fix or workaround for this?
    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • chamois_blanc
      By chamois_blanc+
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • stijnxo
      By stijnxo+
      Is there a way to disable the responsive function of your iBoxes?
      I do not want all iBoxes underneath each other on mobile, is there a way to fix columns or group boxes?
      I use them for small links and want them to stay next to each other, see attachment
      Please let me know.