Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. cover feature bug on mobile + new page loads scrolled after anchor is used in previous page

cover feature bug on mobile + new page loads scrolled after anchor is used in previous page

Scheduled Pinned Locked Moved Bug Reports
11 Posts 3 Posters 798 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    robin
    wrote on last edited by robin
    #1

    Hi,

    I'm finishing a website for a client, of course short deadline blabla. Here is my problem:

    www.kosmocompany.net/wordpress/

    I just realized that the cover feature is buggy on mobile, on tap it only scroll partially and stops at an odd position. Also the titles appear too low compared to the desktop version and are cut behind the white background color of the page.

    Another smaller bug, on this page:

    http://kosmocompany.net/wordpress/trainings-workshops

    I use anchors in the links on the right to get to different positions in the page. Whenever an anchor link has been clicked, if you move to another page of the website from the menu this new page will appear scrolled and not from the top.

    Thanks!

    Robin

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @robin
      It seems a bit strange. This is not the normal behavior.
      Can you deactivate your custom CSS and see if the problem remains?
      Also deactivate your plugins.

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • R Offline
        R Offline
        robin
        wrote on last edited by
        #3

        I don't have anything in my custom css for mobile; I also tried to remove my custom JS code but no change.
        The only plugins I use are qTranslateX and UpdraftPlus, not sure if I can deactivate them without trouble. I'm using laytheme Version: 2.6.1

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @robin
          you have something activated which makes the text scroll up later. Maybe a parallax scroll on the text box?

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • R Offline
            R Offline
            robin
            wrote on last edited by robin
            #5

            Hey,
            Indeed there is a parallax effect on the title. I removed it on this page:

            http://kosmocompany.net/wordpress/about

            but the problem remains. I'm a bit clueless here :(

            this is the only error showing in the console, maybe that's a lead:
            TypeError: l.default.hideRowsRegionIfEmpty is not a function
            frontend.app.min.js:1:17094

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              cover feature:
              seems to be a bug that i will need to fix. however i'm busy with something else this week, i have a deadline too.

              just disable the cover feature for phone for now:
              "Lay Options" -> "Cover Options" -> "Disable for Phone"

              http://kosmocompany.net/wordpress/trainings-workshops

              I use anchors in the links on the right to get to different positions in the page. Whenever an anchor link has been clicked, if you move to another page of the website from the menu this new page will appear scrolled and not from the top.

              Ok. Add this to lay options -> custom css/html -> custom <head> content

              <script>
              window.laytheme.on('newpageshown', function(){
              window.scrollTo(0,0);
              })
              </script>
              
              1 Reply Last reply
              0
              • R Offline
                R Offline
                robin
                wrote on last edited by
                #7

                cool! Thanks for providing this temporary solution, I didn't even consider it.

                The fix for the anchor thing doesn't seem to work surprisingly, but it's less urgent, I will also try to dig into it.

                1 Reply Last reply
                1
                • R Offline
                  R Offline
                  robin
                  wrote on last edited by
                  #8

                  Hi Armin,
                  did you find time to work on this bug?

                  1 Reply Last reply
                  0
                  • arminunruhA Offline
                    arminunruhA Offline
                    arminunruh
                    Global Moderator
                    wrote on last edited by
                    #9

                    Hey do you mean the cover bug?
                    Just update lay theme I fixed it yes.

                    1 Reply Last reply
                    1
                    • R Offline
                      R Offline
                      robin
                      wrote on last edited by
                      #10

                      Hi,

                      sorry the bug is still there, I just updated to laytheme 2.6.5.

                      And now the website shows a white page in safari 9.1.2 (11601.7.7) on my macbook pro and a list of errors in the console which is obviously even more problematic.

                      I'm leaving it online now so you can see by yourself -> kosmocompany.net

                      1 Reply Last reply
                      0
                      • mariusjopenM Offline
                        mariusjopenM Offline
                        mariusjopen
                        Global Moderator
                        wrote on last edited by
                        #11

                        Dear @robin
                        the link you sent works fine.
                        Did you manage to solve the problem?

                        Many wishes!

                        Marius

                        www.mariusjopen.world

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        I also code custom websites or custom Lay features.
                        šŸ’æ Email me here: šŸ’æ
                        info@laytheme.com

                        Before you post:
                        1. When using a WordPress Cache plugin, disable it or clear your cache.
                        2. Update Lay Theme and all Lay Theme Addons
                        3. Disable all Plugins
                        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                        This often solves issues you might run into

                        When you post:
                        1. Post a link to where the problem is
                        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                        Online Users
                        A
                        alasdair17
                        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                        laytheme.com
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Search