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. Site title link not working

Site title link not working

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

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

            1 Reply Last reply
            0
            • D Offline
              D Offline
              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 Offline
                D Offline
                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 Offline
                  RichardR Offline
                  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:4567/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:4567/topic/5975/anchor-scroll-dekstop-mobile/2


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

                    @Richard fab, thanks Richard!

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

                      No worries @sallyobrien Have a wonderful day! šŸŒž


                      Best wishes
                      Richard
                      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