Jump to content


This topic is now archived and is closed to further replies.


Disable Pagelines Animations on Mobile

Recommended Posts


Some of the built in animation effects on Pagelines can cause problems when using mobiles/iPads as they only kick in once the user stops scrolling, meaning it is possible to scroll past a section without seeing the content, for example, mediabox images that fadein.


I would like to turn off/disable animations on mobiles/ipads. From another post I found the following:


jQuery( document ).ready(function() {
  var width = jQuery(window).width()       
    if( width < 480 )


Unfortunately this disables the mediabox image from loading at all. Is there a way to set it so that the pl-animation is disabled, but after the animations have taken place?





Share this post

Link to post
Share on other sites



I have just this moment copied that code in my DMS Toolbar > Custom > Custom Scripts. I then added a MediaBox section to my page and uploaded an image. When I refresh the page, the image loads without any issue ?

Can you provide more information, is the image not loading at all, or just on mobiles ?

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

I set the width to < 1024, and it was happening on both iPads and mobile phones.


However, I think I have resolved it by removing the class .pla-fade rather than .pl-animation.

Share this post

Link to post
Share on other sites

  • Similar Content

    • dwpoyner
      By dwpoyner+
      Not sure exactly what is causing the issue. For some reason, why you view my site on mobile, the menu does not show up. It will pop up, but it is black. You can check it out here: http://dev.caryfbc.org. I'm also attaching a screenshot where I shrunk my browser down. Any suggestions?

    • kwaoru
      By kwaoru
      I have been using DMS and pagelines.
      I am facing to a huge trouble with the appearance of one of my page on mobile (smart phones) built with pagelines.
      However I haven’t come to any solutions to organise either edit the appearance of mobile view to look neat or deactivate the responsive function. 
      Now it looks totally messy on the phone...
      1. Is there any way to edit the appearance of the mobile version (responsive theme)?
      2. Is there any way to deactivate responsive function?
      If I could receive support from you to go thorough this process I would be happy to be a pro member. 
      Looking forward to hearing from you.
    • poseyg
      By poseyg+
      This just happened to a site I'm working on. When I decrease width of browser to check for responsiveness...the pagelines content section is not responding???
    • yemoonyah
      By yemoonyah+
      While building my website, I set a padding of 5%, 25%, 5%, 25% so the text on the pages is not too wide.
      However, it looks crappy on mobile.
      How do I get the same effect and still have it look good on mobile?
      Example: http://yemoonyah.com/quiz
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      can I limit the overall of MegaNav on mobile? When I look at michaelkummer.com on a mobile device, the menu takes up more than a third of the screen space. Using CSS to limit max-height doesn't seem to work. Is there another/better way to reduce the overall height to maybe 10% of the screen available?