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. Site title link only works once on homepage

Site title link only works once on homepage

Scheduled Pinned Locked Moved Bug Reports
titlesitelinkloadsite title
9 Posts 2 Posters 1.3k 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.
  • M Offline
    M Offline
    MAN
    wrote on Sep 18, 2016, 6:03 PM last edited by MAN Sep 18, 2016, 2:04 PM
    #1

    Hi Armin,

    I've noticed the site title link only works the first time you click it when you are on the homepage. I have checked another Lay based sites and the same thing happens.

    Thanks in advance.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Sep 20, 2016, 7:09 AM last edited by arminunruh Sep 20, 2016, 5:28 AM
      #2

      Well if you are on the homepage already why should the site title link just refresh the homepage?
      I think the bug/problem here is rather, that you can click on the site title and it refreshes. I think when you are on the frontpage and you click the site title, then nothing should happen. Going to write that down and fix it.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MAN
        wrote on Sep 22, 2016, 9:51 AM last edited by MAN Sep 22, 2016, 5:52 AM
        #3

        I understand your point. In my case I'm using a fullscreen slider on my homepage, and it would be useful for the navigation to go back to the first project "thumbnail" using the project title link.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          arminunruh
          Global Moderator
          wrote on Sep 22, 2016, 3:55 PM last edited by
          #4

          Ok.

          Hmm maybe this helps?
          http://laythemeforum.com:4567/topic/654/fullscreen-slider-scroll-to-bottom-button/6

          There im giving an example of how to go to the third slide when you click a button. You could use that example to make a button go to the first slide I think.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MAN
            wrote on Sep 28, 2016, 8:56 PM last edited by MAN Sep 28, 2016, 4:56 PM
            #5

            Thanks for that resource, but it doesn't work from one page to another, right? It wouldn't work from the About page, for example.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Sep 29, 2016, 8:49 AM last edited by arminunruh Sep 29, 2016, 4:56 AM
              #6

              I'm not sure if I understand your question right :O

              ok so the menu-item of the page you're on always has the class ".current-menu-item". This means you can do:

              <script>
              jQuery(document).on("click", ".current-menu-item a", function(event) {
              event.preventDefault();
              jQuery.fn.fullpage.moveTo(1);
              });
              </script>
              
              1 Reply Last reply
              0
              • M Offline
                M Offline
                MAN
                wrote on Oct 7, 2016, 11:10 AM last edited by
                #7

                Thanks for the answer, sorry if I didn't explain myself well.

                What I mean is: If I have two pages, one for the index where the fullscreen slider is, and another one for the about, if I'm in the about page, the link that I've created with the code you provided me will not link me to the first slide on the index, I would need to have two links: one linked to the index to use from the about, and another one used on the index linked to the first slide.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote on Oct 9, 2016, 12:21 PM last edited by
                  #8

                  hmm maybe I understand it better if you can give me a link to the website where you want to do this. I'm a bit confused about what you want to do.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    MAN
                    wrote on Oct 10, 2016, 9:59 AM last edited by
                    #9

                    I'm working on localhost, as soon as I upload it I'll send you the link.

                    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
                    C
                    craigfeldspar
                    2 minutes ago
                    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