• Hi,
    I created a new page template that doesn’t have a header and footer. The template works fine except on the homepage. When applied to the homepage, the new template is simply ignored.
    What am I doing wrong?
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • hannah

    (@hannahritner)

    Hey,
    The homepage template will automatically override any other template. If you want to hide the header and footer on the homepage you can use css like this:

    .home .headerclass {
        display: none;
    }
    .home #containerfooter {
        display: none;
    }

    Hannah

    Hey,
    The home or front page always uses the “front-page.php” template.

    Kadence Themes

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using a different Template on Homepage’ is closed to new replies.