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. General Discussion
  3. Anchor to image in Full Screen Slider

Anchor to image in Full Screen Slider

Scheduled Pinned Locked Moved General Discussion
18 Posts 2 Posters 438 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.
  • RichardR Offline
    RichardR Offline
    Richard
    Global Moderator
    wrote on last edited by
    #6

    Dear @EstherdeGraaf

    Thanks for the update

    What happens when you remove the <script> code above?


    Best šŸŒ
    Richard
    1 Reply Last reply
    0
    • E Offline
      E Offline
      EstherdeGraaf
      wrote on last edited by
      #7

      Nothing changes when I renmove the <script> - problem persists.. When you do a hard refresh (CMD SHIFT R) with the URL https://estherdegraaf.nl/ontwikkelomgeving/#gmhome it does work.. Total mystery to me, do you have any ideas? It really seems to have something to do with the Fullscreen Slider - like I said, when I turn that feature off it does work.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        EstherdeGraaf
        wrote on last edited by
        #8

        Hi Richard,

        so the problem seems to be a bug in the slider - when I turn auto scrolling 'of'f there is no longer a problem with the anchor.

        Schermafbeelding 2022-04-18 om 11.20.48.png

        Do you have any clue why that happens? I would love to have the auto scrolling option 'on' on the homepage.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          EstherdeGraaf
          wrote on last edited by
          #9

          Hi Richard,

          little update, just switched to a horizontal slider with autoscrolling 'on' - then the anchor works fine. The bug is really specific to a vertical Fullscreen Slider with auto scrolling turned on - we specifically want to use the vertical slider + auto scrolling + anchors so it would be great to know if this could be fixed somehow :)

          1 Reply Last reply
          0
          • E Offline
            E Offline
            EstherdeGraaf
            wrote on last edited by
            #10

            Hi Richard,

            Still awaiting a reply to the issue above - would really appreciate an answer soon : it's the last thing we want to fix before launching the site.

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

              Dear @EstherdeGraaf

              Have replied via 'Chats' šŸŒ


              Best
              Richard
              1 Reply Last reply
              0
              • RichardR Offline
                RichardR Offline
                Richard
                Global Moderator
                wrote on last edited by Richard
                #12

                Dear Esther

                @EstherdeGraaf

                Thank you for creating the Login, after doing some tests between my own website and yours to compare behaviour i found the problem.

                Screen Shot 2022-05-16 at 7.03.44 PM.png

                When "Give elements a max-width and max-height and center them" is applied the anchor scroll will work fine, however this comes with some design changes if the images are smaller.

                When this feature is off the Anchor scroll will fall between the two slides.

                I was unable to recreate the issue on my own website with exactly the same setup. I made sure it was not your Custom CSS & Plugins.

                Your PHP version is a little old and the warning appears on the dashboard:

                Screen Shot 2022-05-16 at 7.30.37 PM.png

                It's possible this is the Problem and why with my newer PHP i am unable to recreate the bug. I would highly recommend logging into your Webhosting provider and updating this within the domain settings. If unable to, there should be support that can easily do it for you šŸŒ


                Best
                Richard
                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  EstherdeGraaf
                  wrote on last edited by
                  #13

                  Hi Richard,

                  thanks for your work and reply ^^ I updated my PHP version and adjusted the slider setting, like you said. It works fine on Safari now, but Chrome is still giving me issues.. Did you test in Chrome or another Browser?

                  Thanks again Richard and sorry to be such a bother!

                  1 Reply Last reply
                  0
                  • RichardR Offline
                    RichardR Offline
                    Richard
                    Global Moderator
                    wrote on last edited by
                    #14

                    Dear Esther

                    @EstherdeGraaf

                    Wonderful to hear updating the PHP worked ā­ļø
                    I was doing my testing in Chrome as well, but i may need to take another look.

                    Could you please test in an Incognito or Private window to make sure it's not the "cache" of the browser šŸŒ


                    Talk soon
                    Richard
                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      EstherdeGraaf
                      wrote on last edited by
                      #15

                      Hi Richard,

                      tried the incognito, didn't change a thing - unfortunately! Plus my colleague told me that the anchors already worked in Safari before the PHP-update and change in Fullscreen Slider settings. The problem seems to be a Chrome (and Firefox / perhaps other browsers) issue. Like I mentioned before, if I give Chrome a hard reset (CMD, SHIFT, R) the anchor does jump to it's right position.. Anyways, thanks so much again and please let me know if there's anything I can do!

                      1 Reply Last reply
                      0
                      • E Offline
                        E Offline
                        EstherdeGraaf
                        wrote on last edited by
                        #16

                        PS I went back to the old PHP version for now because my old website www.estherdegraaf.nl imploded with a new version of PHP, just so you know :)

                        1 Reply Last reply
                        0
                        • RichardR Offline
                          RichardR Offline
                          Richard
                          Global Moderator
                          wrote on last edited by Richard
                          #17

                          Dear @EstherdeGraaf

                          I was able to recreate the Bug on Chrome thank you, but only when

                          "Give elements a max-width and max-height and center them" is activated and not in any other setting.

                          Also please make sure in Lay Options that the settings:

                          "Anchorscroll Space Top for Desktop" & "Anchorscroll Space Top for Phone"

                          Are not interferring, this may cause the scroll to "bump' to the next slide.

                          I have forwarded all this to Armin as a Bug āœ…
                          Thank you once again Esther for your patience and talk soon šŸŒ


                          Best wishes
                          Richard
                          1 Reply Last reply
                          0
                          • E Offline
                            E Offline
                            EstherdeGraaf
                            wrote on last edited by
                            #18

                            Hi Richard,

                            thanks again for your reply - I'm not sure if your latest reply means that the problem should be fixed now, or not? You say you were able to recreate the bug in Chrome, but were you able to fix it as well?

                            I've just tried setting the "Give elements a max-width and max-height and center them" option to 80% to see what would happen and nothing seems to change : the images in the fullscreen slider stay fullscreen and don't get adjusted to 80% width / height. Do you think that has something to do with it the anchor issue? Or am I misunderstanding your suggestion? I've also tried with this setting switched off, the anchor issue persists.

                            The "Anchorscroll Space Top for Desktop" & "Anchorscroll Space Top for Phone" are both set to zero so that should not give any issues.

                            It would be great to get a clear overview of the most optimal settings to solve this bug in Chrome - thanks in advance!

                            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
                            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