• How can I remove the header and main menu on all posts, not on pages. I would like the post related to an image show in a pup-up lightbox without the site header and site nav. Is there any way to do this using CSS or is there a plugin that will do this?
    Thanks
    Russ

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter russellh9

    (@russellh9)

    What I meant was if someone clicks on an image on a page I want the associated post to open in a lightbox WITHOUT the site header and menu.
    Thanks

    You’ll need to edit the single.php file which usually controls the blog posts in WP themes. Then comment out the code for the header, which probably will include the nav.

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

The topic ‘remove header and menu on all posts’ is closed to new replies.