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. Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
  3. Eliminate footer and header menu "structure" only for a specific page

Eliminate footer and header menu "structure" only for a specific page

Scheduled Pinned Locked Moved Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
4 Posts 2 Posters 99 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.
  • G Offline
    G Offline
    gab-
    wrote on Feb 24, 2021, 1:59 PM last edited by
    #1

    Hi,

    the pages on my site are organized in such a way that at the top there is a fixed header page (menu) and below a footer.
    Is it possible for a particular page to make the page open without a footer and header structure?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Richard
      Global Moderator
      wrote on Feb 25, 2021, 8:41 PM last edited by
      #2

      Dear @gab

      To remove the header and Footer on a specific page?
      This is very possible :)

      Are you able to post a link to the page where you want the Header and Footer removed?

      Best
      Richard

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gab-
        wrote on Feb 26, 2021, 3:45 PM last edited by
        #3

        @Richard-K said in Eliminate footer and header menu "structure" only for a specific page:

        Are you able to post a link to the page wh

        Hi Richard,

        thank you for your reply!

        https://www.gabrieledistefano.com/stories

        This is an example page and I would like to remove only for this page the menu on the header and the footer - so that it can have a completely different organization of the page.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Richard
          Global Moderator
          wrote on Feb 26, 2021, 10:15 PM last edited by
          #4

          Dear @gab

          The right-click & inspect function of your page is not working so looking at the Code structure isn't possible right now, this page outlines some likely reasons:
          https://www.auslogics.com/en/articles/fix-right-click-not-working-on-chrome-and-firefox/

          I will try my best to set you in the right direction though :)

          We will be using some of the things outlined within Laytheme's Documentation - specifically targeting a certain page:
          https://laytheme.com/documentation.html#custom-css-styling

          Each page has a unique 'slug' which is typically the same as your URL address for the page. So im assuming yours is:

          .slug-stories
          

          With this, CSS applied will only target the 'stories' page.

          Next we need the Header and Footer's Class or ID. For the header we have the class:

          .lay-nav
          

          & for the Footer we have the ID:

          #footer-region
          

          With this info we can say this:

          .slug-stories .laynav, #footer-region {
              display:none;
          }
          

          Saying: -- .slug-stories (stories page) the laynav (navigation) & #footer-region (footer) are to - 'Display:none'

          The Custom Code above can be inserted into the Custom CSS area of 'Lay options -Custom CSS & HTML'

          Screen Shot 2020-09-14 at 2.51.54 PM.png

          Hope this helps & have a wonderful day :)

          Richard

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes

          2/4

          Feb 25, 2021, 8:41 PM


          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
          M
          MWPA
          21 minutes ago
          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.
          2 out of 4
          • First post
            2/4
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search