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. Feedback
  3. Front page without site title?

Front page without site title?

Scheduled Pinned Locked Moved Feedback
6 Posts 3 Posters 2.0k 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.
  • S Offline
    S Offline
    sorendrastrup
    wrote on last edited by
    #1

    Hello.
    Again thanks for the great work you're doing for us.
    I would like to ask if it's possible to have a page as a frontpage without the site title showing?
    I would like my front page to be a big version of the logo im using for my site title and then the menu still showing. Then when clicking of one of the things in the menu it goes to that page or category and then the site title shows.

    Hope you understand my question.

    Best regards
    Søren

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

      Hey!
      You can use the chrome inspector to find out the data-id and data-type attributes of the <body> tag of your frontpage and use that to hide your site title with css.

      Learn about the data- attributes and how to find them here: http://laythemeforum.com:4567/topic/10/different-backgroundcolor-for-single-project/5

      Then your css would look something like:

      body[data-id="32"][data-type="project"] .sitetitle {
      display: none;
      }
      
      1 Reply Last reply
      0
      • D Offline
        D Offline
        dnz
        wrote on last edited by
        #3

        Hey Armin,

        again highjacking another thread, sorry. :)

        So I tried using your code-snippet (the one above) but it still shows the title.

        What I would like to do is: I don't want the project/page title to show up. I have a site wide "global" title, a subtitle and an individual page title for each page there is. Is there any way to only show the global site title and the subtitle but not the individual page title for each page? So instead of site title – subtitle – page title it should look like site title – subtitle and that's it. Any way to do that? Your code doesn't seem to be working anymore.

        Thanks again, man!

        Best regards,
        Dennis

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

          Hey Dennis!
          You might want to watch this video to find out how to use the inspector of your browser:
          https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

          When you inspect your body element, you will see it has a data-id and data-type attribute.
          Then whatever title you want to show or hide you can do:

          Hide site title only in projects for example:

          body[data-type="project"] .sitetitle {
          display: none;
          }
          

          If your frontpage is of type "page" and has the id "1", hide the site title:

          body[data-type="page"][data-id="1"] .sitetitle {
          display: none;
          }
          

          Please note that your frontpage may not have an id of 1 and may not be of type "page". You have to find out which type and id it is by using the inspector of your browser. Also by using the inspector you can find out which CSS classes to use to hide and show things.

          Please read this for a walkthrough about using css based on the current page: http://laytheme.com/documentation.html#menu-color-based-on-current-page

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dnz
            wrote on last edited by
            #5

            Yes, I did exactly that before posting here. Maybe I'm totally in the wrong here. I'm talking about the page title you'd usually see in the browser tab (in this case: "Front page without the site title? | Lay Theme Forum"), not the title ON the particular page. Would that still be right way to get rid of the project title? Because I tried exactly that and it didn't work or rather the title still shows up.

            That's the code I tried:

            body[data-type="page"] .sitetitle {
            display: none;
            }
            

            And this:

            body[data-type="page"][data-id="306"] .sitetitle {
            display: none;
            }
            

            Still shows up like this:
            Unbenannt-2.jpg

            I'm confused, did we talk at cross purposes?

            Thanks again!

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

              Hey Dennis,
              ah.
              There's no way to customize that title :/

              It's just "Your Website Name" on the frontpage and "Your Website Name" – "Your Project Name".
              I think this is a default that makes sense and I didn't create any customization options for that.

              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
              A
              alasdair17
              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