Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. Site title link not working

Site title link not working

Scheduled Pinned Locked Moved General Discussion
10 Posts 2 Posters 747 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
    D
    districtnein
    wrote on last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear Sally

      @sallyobrien

      The Link provided does not lead me to your Lay Theme website sorry Sally 🌝


      Talk soon & best wishes ✨
      Richard
      1 Reply Last reply
      0
      • D
        D
        districtnein
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear Sally

          @sallyobrien

          Your site title is working properly but because it's already on the correct page, there is need to reload. Did you want a hard reload?

          Screen Shot 2021-11-03 at 10.35.04 AM.png

          If you would like the site title to act as a "Scroll to top" button then please add the following code into "Custom <head> Content" within Lay Options > Custom CSS & HTML :

          <script>
              window.laytheme.on("newpageshown", function(layoutObj, type, obj){
                  jQuery(".sitetitle").addClass("scrolltotop");
              });
          </script>
          

          Screen Shot 2021-11-03 at 10.44.21 AM.png


          Let me know how you go Sally & have a wonderful day 🌝
          Richard
          D 1 Reply Last reply
          0
          • D
            D
            districtnein
            wrote on last edited by
            #5

            Thanks Richard, you're a lifesaver. Works like a dream. 🤠

            1 Reply Last reply
            0
            • D
              D
              districtnein
              wrote on last edited by
              #6

              Hey again, this is a separate issue but related..

              Actually I would like the menu items to smooth scroll to the anchor points on the page. Could you help me here? Thank you so much 😊

              1 Reply Last reply
              0
              • RichardR Richard

                Dear Sally

                @sallyobrien

                Your site title is working properly but because it's already on the correct page, there is need to reload. Did you want a hard reload?

                Screen Shot 2021-11-03 at 10.35.04 AM.png

                If you would like the site title to act as a "Scroll to top" button then please add the following code into "Custom <head> Content" within Lay Options > Custom CSS & HTML :

                <script>
                    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
                        jQuery(".sitetitle").addClass("scrolltotop");
                    });
                </script>
                

                Screen Shot 2021-11-03 at 10.44.21 AM.png


                Let me know how you go Sally & have a wonderful day 🌝
                Richard
                D
                D
                districtnein
                wrote on last edited by
                #7

                @Richard update: site title as 'scroll to top' button works like a dream on desktop but not on mobile Do you have some advice here? Thank you 🥀

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

                  Dear Sally

                  @sallyobrien

                  Sorry about overlooking Mobile, its defined as mobile-title .
                  So if you could update the code i gave you, it would now look like:

                  <script>
                      window.laytheme.on("newpageshown", function(layoutObj, type, obj){
                          jQuery(".sitetitle, .mobile-title").addClass("scrolltotop");
                      });
                  </script>
                  

                  For the smooth Anchor Scrolling, here is thread discussing how to apply it but also some issues with Desktop & mobile:

                  http://laythemeforum.com/topic/5975/anchor-scroll-dekstop-mobile/2


                  Talk soon Sally & best wishes ✨
                  Richard
                  D 1 Reply Last reply
                  0
                  • RichardR Richard

                    Dear Sally

                    @sallyobrien

                    Sorry about overlooking Mobile, its defined as mobile-title .
                    So if you could update the code i gave you, it would now look like:

                    <script>
                        window.laytheme.on("newpageshown", function(layoutObj, type, obj){
                            jQuery(".sitetitle, .mobile-title").addClass("scrolltotop");
                        });
                    </script>
                    

                    For the smooth Anchor Scrolling, here is thread discussing how to apply it but also some issues with Desktop & mobile:

                    http://laythemeforum.com/topic/5975/anchor-scroll-dekstop-mobile/2


                    Talk soon Sally & best wishes ✨
                    Richard
                    D
                    D
                    districtnein
                    wrote on last edited by
                    #9

                    @Richard fab, thanks Richard!

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

                      No worries @sallyobrien Have a wonderful day! 🌞


                      Best wishes
                      Richard
                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      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