• Resolved inspiritfinancial

    (@inspiritfinancial)


    Hey all,

    I have a newer site that I’m trying to create a landing page/squeeze page for. I tried using an app but it did a bunch of funky things to my AdSense so I want to learn how to take control into my own hands.

    For right now, the URL is https://www.inspiritfinancial.com/inspirit-financial (although this will eventually be changed- please keep in mind for your comments). I do not plan on this page acting as my home page.

    I’d like to remove the header and footer elements completely. I have installed a page specific CSS plugin and am just looking for the code to put in it.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The good thing about WordPress is generates these classes which can be used to play around with css on specific pages. So this page’s body tag has a class called page-id-1274

    So you can write CSS like

    .page-id-1274 header {display:none;}
    .page-id-1274 footer {display:none;}

    or

    .page-id-1274 #masthead {display:none;}
    .page-id-1274 #colophon {display:none;}

    Thread Starter inspiritfinancial

    (@inspiritfinancial)

    Same day response and the first worked perfectly. What a guy!

    Thanks Alex.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create Landing Page/Remove Header and Footer’ is closed to new replies.