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. problem with custom burger position

problem with custom burger position

Scheduled Pinned Locked Moved General Discussion
15 Posts 2 Posters 106 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.
  • Q Offline
    Q Offline
    qua7
    wrote on last edited by
    #5

    This was just a coincidence: the pages had no scrollbar. I tested now with a page (info) that has a scrollbar: burger is ok. So the problem with moving burger only occurs when navigating to a project.

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

      yea!

      /* Hide scrollbar for Chrome, Safari and Opera */
      ::-webkit-scrollbar {
          display: none;
      }
      
      /* Hide scrollbar for IE, Edge and Firefox */
      html, body {
          -ms-overflow-style: none;  /* IE and Edge */
          scrollbar-width: none;  /* Firefox */
      }
      

      Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"

      this would hide any scrollbars

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qua7
        wrote on last edited by
        #7

        thanks, @arminunruh. But why should I want to hide the scrollbar? Scrollbars are normal and useful, I don't have a problem with the scrollbar (at least I think so), but with the jumping burger.

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

          because then the burger won't jump!
          i think its the only way to make it not jump.

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qua7
            wrote on last edited by
            #9

            @arminunruh I still don't think so. The burger does not jump when navigating to a page (like this page: https://corporatefotografie.com/info/ - although it does have a scrollbar in this test version). The burger only jumps when navigating to a project (like this project: https://corporatefotografie.com/industriefotografie/ - which does not have a scrollbar because a deleted the content now to make my point).

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

              which browser do you use?
              and which operating system, windows or mac?

              im on chrome on a macbook and for me they have the same position

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                qua7
                wrote on last edited by
                #11

                I'm on Mac. It happens on my Macbook with Safari, Chrome, Firefox and Opera. It happens sometimes (but not all times) with the same browsers on my Mac Studio. It does not happen on iPad.

                Did you just click the links from here? Then you won't see the problem. It only shows when navigating inside my site (for example between homepage and a project).

                Here's a screen recording: https://dagmarschwelle.com/burger.mov

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

                  ah i understand now, thanks for the clarifications!

                  could you update lay theme now and see if its fixed?

                  1 Reply Last reply
                  0
                  • Q Offline
                    Q Offline
                    qua7
                    wrote on last edited by
                    #13

                    thanks a lot @arminunruh! Now there is a barely visible jump in the opposite direction, nothing I would worry about, for me it is ok like that. But only for you to know if that's of interest for your code.

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

                      yea i see. i checked my code, i think thats as good as i can make it work :O

                      1 Reply Last reply
                      0
                      • Q Offline
                        Q Offline
                        qua7
                        wrote on last edited by
                        #15

                        it is good enough. in a good way. Thanks @arminunruh

                        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