WordPress.org

Ready to get started?Download WordPress

Forums

How to remove header for a specific page (4 posts)

  1. jh7m
    Member
    Posted 5 years ago #

    Hello,

    I want to remove the header for a specific template for the Primepress theme. By header I mean the image below the name of my blog (it may also be referred to as the banner?). See here for what I mean. http://www.harrisonmitchell.com/photo/

    Currently, when I delete the header code from the template I have created, the whole page goes down. What do I need to do to stop this?

    This may have been resolved here, but no fix was posted.
    http://wordpress.org/support/topic/195460?replies=2

  2. mojorob
    Member
    Posted 5 years ago #

    Have you tried taking this out of the appropriate file (possibly header.php)

    <div id="rotating">
    <img src="http://www.harrisonmitchell.com/wp-content/themes/primepress/rotating.php?image=7" width="920" height="230" alt="Harrison Mitchell Rotating Header Image" title="Harrison Mitchell Random Header Image" />
    </div>

    It would probably look slightly different in the header.php file, but basically the div with an id of "rotating".

  3. jh7m
    Member
    Posted 5 years ago #

    Thanks for getting back to me mojorob.

    I made this change - it was in the header-images.php - but it removed the header for the entire blog, including the other pages. What I am after is a method of doing this ONLY for the photography page...

  4. jh7m
    Member
    Posted 5 years ago #

    I wonder if there is a method of removing the application of a certain div tag?

Topic Closed

This topic has been closed to new replies.

About this Topic