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
4 Posts 3 Posters 998 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 Offline
    F Offline
    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 Offline
      arminunruhA Offline
      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 Offline
        V Offline
        vua
        wrote 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 Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote 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
          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

          Our Web Development company: 100k.studio

          Want to tip me? https://www.paypal.com/paypalme/arminunruh

          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
          S
          sjondebaron
          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