This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Site not loading properly on mobile

Resolved 23 replies premiumthemetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

Hello, my site is www.guideautomation.com
Everything is working great on my PC, however when I try to load the home page on my iPhone 6 the page ends up opening somewhere in the middle. That is, I would expect the page to load so that my logo and menu bar are showing at the top of the page. Instead I am seeing some of the news posts further down on the page.

I have tried using both safari and chrome on the iPhone 6 and I still have the issue.

Any thoughts/advise would be appreciated.

Thanks,

Joe

URL: http://www.guideautomation.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

23
  1. Andrew Misplon Staff 10 years, 10 months ago

    Hi Jwromine

    Thanks for reaching out. I can see the problem but am not sure what’s causing it yet. Please could you try testing with all plugins de-activated except for:

    Page Builder
    Meta Slider

    If the problem resolves re-activate your plugins one by one and test after activation.

    By the looks of it, it’s only happening on your home page so it is most likely due to something added on that page.

  2. dmad 10 years, 10 months ago

    I’m having the same issue.

  3. dmad 10 years, 10 months ago

    Seems as though these glitches started after the page builder update .

  4. Magus Staff 10 years, 10 months ago

    Hi Jwromine

    The problem is being caused by your cookie information panel. It is being loaded and moving the page to display it at the top of the screen.

    I have checked this in IE and chrome and the behaviour is the same as you are reporting with your phone.

    There is also an error in your custom css. There is an entry which reads

    *font-size:small;

    There should not be a * at the beginning.

    Hope this helps narrow it down

    Magus

  5. dmad 10 years, 10 months ago

    I’m too much of a beginner to have a clue.Thanks

    • Andrew Misplon Staff 10 years, 10 months ago

      Hi Darin

      We’d like to help you, but can you please start a new thread with your question? We can only offer you the best support possible when you’re the owner of a thread.

      Page: New Thread

      If you’re a premium user, please be sure to enter your order number so we can properly prioritize your thread.

  6. Magus Staff 10 years, 10 months ago

    Darin

    This information is specific to Jwromine’s case. Your issue is most likely has another cause.
    If you start your own support thread with the relevant information ( site address if public ) then someone should be able to help.

    Magus

    • Andrew Misplon Staff 10 years, 10 months ago

      Hi Magus

      Thanks for your insight here. Any suggestions? Perhaps try another plugin for this purpose?

      (If you require any additional licenses for Vantage, please let me know via [email protected]. Thanks)

  7. Magus Staff 10 years, 10 months ago

    Hi

    The only plugin I could find which is compatible with the latest version of wordpress is this

    https://wordpress.org/plugins/cookie-notice/

    Just install and activate.
    But that all does depend on whether the wordpress version is up to date.

    Magus

  8. Andrew Misplon Staff 10 years, 10 months ago

    Super, thanks for the feedback here.

  9. Magus Staff 10 years, 10 months ago

    Hi All

    You can all just kick my ass and call me Shirley. I was inspecting the element causing the issue without looking too deeply into the code above. The cookie banner is actually on another site being displayed in an iframe. It is THIS that is causing the scrolling.

    I can think of no way to get around the banner without the shown site removing the banner.

    Magus

  10. Andrew Misplon Staff 10 years, 10 months ago

    Nicely done! Thanks for helping us get to the bottom of this.

    Here is a thread talking about a similar issue:

    http://stackoverflow.com/questions/22316523/parent-webpage-jumps-autoscrolls-to-an-iframe-location-when-content-within-ifr

  11. Magus Staff 10 years, 10 months ago

    No problem Andrew

    That script snippet in the thread you mention would need to be added to the framed site. Hopefully they will be amenable.

    Magus

  12. Andrew Misplon Staff 10 years, 10 months ago

    Indeed!

    jwromine, let us know once you’ve had a look and we’ll go from there.

  13. jwromine 10 years, 10 months ago

    All,

    Thank you very much for your responsiveness and your help. Also, my apologies for the delayed response. It would appear Magus hit the nail on the head – the iframes seem to be the source of the issue. Unfortunately I don’t think I will be able to get the iframed site owner(s) to add the required code – lets just say it would be extremely difficult and time consuming to convince them to change their website just for me.

    Is there any other way to embed an external webpage? Maybe just a live image of that page that could be a clickable link to the page?

  14. Andrew Misplon Staff 10 years, 10 months ago

    Hi Jwromine

    Quick one, right now the iFrame source looks like this:

    <iframe src="http://www.galil.com/news/servotrends#main-content" width="100%" height="670" seamless="seamless" scrolling="no"></iframe>

    Have you tried removing the anchor? Updated embed would look as follows:

    <iframe src="http://www.galil.com/news/servotrends" width="100%" height="670" seamless="seamless" scrolling="no"></iframe>

    OR different idea. There is a feed available on their site for Firmware.
    http://www.galil.com/download/release-notes/release_notes_rss.xml

    Do they perhaps have a feed available for the news page that we haven’t seen yet?

  15. jwromine 10 years, 10 months ago

    Hi Andrew,

    Good ideas. I tried removing the #main-content, but that had no effect.
    I discovered that the issue only exists on mobile because the iframe is grabbing the mobile versions of those websites which is then directing my parent website to that particular iframe. Apparently that redirect code does not exist in the full versions of the child websites.

    Also, no RSS feed exists to my knowledge.

    is there any way of preventing the iframe from grabbing the mobile version of a website?

  16. Andrew Misplon Staff 10 years, 10 months ago

    There are a few possible solutions discussed here:

    http://stackoverflow.com/questions/6596668/iframe-on-the-page-bottom-avoid-automatic-scroll-of-the-page

    Try the inline options suggested there, see if they help.

  17. jwromine 10 years, 10 months ago

    well, that is a little better – I used this suggestion:

    That fixed it for safari, but Chrome still is not isn’t working right on my iPhone…

  18. jwromine 10 years, 10 months ago

    Sorry, here is the code:

    <iframe width="100%" height="1180" seamless="seamless" scrolling="no" style="position: absolute; top: -9999em; visibility: hidden;" onload="this.style.position='static'; this.style.visibility='visible';" src="http://www.kollmorgen.com/en-us/blogs/_blog-in-motion/blog-in-motion/#mainContent"></iframe>
  19. Andrew Misplon Staff 10 years, 10 months ago

    Thanks for the feedback. Glad to hear you made a little progress there.

    If you’re keen to resolve this is the line of research I would continue down. We try help out with non theme stuff as much as possible, I unfortunately don’t have much background in JavaScript which is wha this fix requires.

    You could also consider starting a job with https://codeable.io and outsourcing the fix.

    Sorry we weren’t able to find a definitive fix for this one.

  20. jwromine 10 years, 10 months ago

    Andrew,

    That’s OK, this was not in any way a problem with the theme, so I was actually very surprised and grateful of your willingness to help. Thanks for helping me get this far and for the recommendations – I will be sure to recommend SiteOrigin to my friends an colleagues.

    -Joe

  21. Andrew Misplon Staff 10 years, 10 months ago

    Thanks for your understanding, much appreciated. Hope you’re able to resolve or find another solution.

    This company does have an XML feed for other parts of their site. A news feed would sure be handy, you could use a Feed widget then. Just a thought.

    All the best :)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread