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. one-page menu

one-page menu

Scheduled Pinned Locked Moved Bug Reports
8 Posts 2 Posters 324 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.
  • D Offline
    D Offline
    danny
    wrote on Apr 22, 2021, 8:46 AM last edited by
    #1

    Hi again,

    I'm working on a one-page website.

    I was able to set links on this one-page as anchor points.

    My question is: how do you set up a menu on a one-page website, that is sticky and works with the anchor points that I already have?

    http://testshila.de/onepage/

    Is the sticky Menu in Settings of any use?

    In your 2020 update it said:
    The code to make the browser scroll to an anchor on click of a hash link (<a href="#yourtarget">Scroll to target<a>) is now part of Lay Theme. No more need to insert the code by yourself! This works if you link to a different page also.

    Thanks a lot!

    Kind regards

    Daniel

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Richard
      Global Moderator
      wrote on Apr 23, 2021, 6:22 AM last edited by
      #2

      Dear Daniel

      Currently I noticed hard reloads when clicking your Anchor scroll links - You may well have the Ajax Options set:

      Screen Shot 2021-04-23 at 6.08.52 PM.png

      Secondly for the Anchor's to Work -e.g

      website/#work

      Above link Is asking for the ID 'work'. ( # = ID )
      An id can be set onto an Element: E.g a Row

      Screen Shot 2021-04-23 at 6.11.36 PM.png


      If You need a Menu that also utlizes the Gridder Tools you could always make use of the 'Footer ' as a page and change its Position into a 'Fake Header'


      Hope this Helps Daniel & have a wonderful day 🌞

      Richard

      1 Reply Last reply
      0
      • D Offline
        D Offline
        danny
        wrote on Apr 23, 2021, 9:37 AM last edited by
        #3

        Dear @Richard,

        thanks so much for this. I'm still a bit lost ))

        So I copied the fake menu to a page: http://testshila.de/sample-page/

        And I copied the CSS Position into the CSS, but it doesn't seems to apply.

        Now - do I need to set the Anchor scroll links here on that page?

        And then delete them on the project page http://testshila.de/onepage/ ?

        Or would it be the best to move my one-page to the page http://testshila.de/sample-page/ ?

        I can as well send you the login, so you could have a look.

        Thanks again,

        Daniel

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Richard
          Global Moderator
          wrote on Apr 26, 2021, 12:08 AM last edited by Richard Apr 25, 2021, 8:08 PM
          #4

          Dear Daniel

          @danny

          Setting up an Anchor Link to be sure:


          In the Gridder of a Project or Page we must set an ID for an element or row:
          Screen Shot 2021-04-26 at 12.00.28 PM.png

          Here in the "Edit HTML Class and Id" Options:
          Screen Shot 2021-04-26 at 11.48.29 AM.png
          I have set an ID called "anchor"


          Now when creating Text and setting a link:
          Screen Shot 2021-04-26 at 11.49.08 AM.png

          We need to reference the ID, (adding the # before ):
          Screen Shot 2021-04-26 at 11.49.50 AM.png


          Now when you click on this text you will be 'scrolled' to the row that has been given the id defined in the link.


          Hope this helps @danny & best wishes 🌞

          Richard

          1 Reply Last reply
          0
          • D Offline
            D Offline
            danny
            wrote on Apr 26, 2021, 1:12 PM last edited by
            #5

            Dear @Richard,

            thanks so much!

            I managed to set the Anchor Links, see here http://testshila.de/onepage/

            Now how can enable a sticky Menu of the three Anchoir Links?
            So the Menu consists of "Works", "Biography" and "Press" and would always be visible?

            Not sure how I can use the Footer for this.

            Thanks @Richard and have a nice day.

            Daniel

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Richard
              Global Moderator
              wrote on Apr 26, 2021, 11:12 PM last edited by
              #6

              Dear Daniel

              @danny

              Depends on your design and what your needs are:

              Using the built in Menu options already present, you can customize a link to work as an anchor, i would say this is the easiest option:

              Screen Shot 2021-04-27 at 11.10.10 AM.png

              The Footer option would be to apply the footer to all pages & projects and then use Custom CSS to bring it to the Top:

              #footer{
              position:fixed;
              top:0;
              left:0;
              }
              

              Custom CSS can be added via:

              Lay Options > Custom CSS & HTML > Custom CSS

              Or

              Customize > CSS


              Hope this helps Danny & best wishes 🌞

              Sincerely
              Richard
              1 Reply Last reply
              0
              • D Offline
                D Offline
                danny
                wrote on Apr 28, 2021, 9:21 AM last edited by
                #7

                Nice, thanks @Richard. Have a nice day. Best, Daniel

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Richard
                  Global Moderator
                  wrote on Apr 29, 2021, 1:46 AM last edited by Richard Apr 28, 2021, 9:46 PM
                  #8

                  You too Daniel, best wishes :)

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

                  1/8

                  Apr 22, 2021, 8:46 AM


                  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.
                  1 out of 8
                  • First post
                    1/8
                    Last post
                  0
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Search