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

site title link

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 1.6k Views 2 Watching
  • 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.
  • F
    F
    fraserclark
    wrote on last edited by
    #1

    Hey!

    Is it possible to link the site title to another page on the site? For example an about page?

    Im asking this because i don't want a hamburger menu for mobile.

    Fraser

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

      Hey Fraser!

      Currently that's not easily possible :/

      You could hide the site title and menu for mobile in "Customize". Then you could add a link to your about page in "Lay Options" -> "Custom CSS & HTML" -> "Custom HTML at top":

      <a class="fraser-mobile-site-title lay-textformat-parent" href="/about/"><span class="_My_Headline">Fraser Mobile Site Title</span></a>
      

      Here I added a class "_My_Headline" which is a html class of one of my textformats. This way the link will have the style of that textformat. I got this class from going to "Textformats" and looking at the "HTML Class" of a format:
      Screen Shot 2016-08-25 at 07.07.32.png

      For a textformat to work properly, it needs to be wrapped in an element with a class "lay-textformat-parent"

      In "Custom CSS for Desktop Version" you can hide the link like this:

      .fraser-mobile-site-title{
      display: none;
      }
      

      Then in "Custom CSS for Mobile Version" you can position the site title:

      .fraser-mobile-site-title{
      position: absolute;
      top: 20px;
      left: 2%;
      }
      

      The following is somewhat advanced and you don't need to do this but it's nicer this way.
      Please look at this link:
      Screen Shot 2016-08-25 at 07.19.28.png

      You see the attributes "data-id", "data-title", "data-type"
      If you add these attributes to your link (to the anchor <a> tag), then your page will fade out and fade in when someone clicks on that link instead of a hard refresh. But the id needs to be the id of your page.

      1 Reply Last reply
      0
      • V
        V
        vua
        wrote on last edited by
        #3

        Hi Armin!
        Could you help me to do the same with a picture.
        I tried to modify it but failed even with ai help.

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

          image.png

          next update will include this setting. both for desktop site title and mobile site title

          1 Reply Last reply
          0
          • V
            V
            vua
            wrote on last edited by
            #5

            wow that was quick:D thanks!

            1 Reply Last reply
            1

            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
            I
            Ingi
            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