Need help with a header from a free Wordpress theme.

Working with Wordpress, Hatch theme: http://hatchdemo.wordpress.com/

I’m trying to create a static home page and use a page builder plugin to create a bit of a gallery, but other reports of this issue lead me to believe this is not a conflict of code.

Hatch has an option to leave the custom header blank, but when I switch to a static home page, the theme seems to pull information destined for Home into the header container. I’ve seen a few attempted hacks about this on wordpress.org, but no one has yet to find a solution for turning the customer header completely off.

(I want the page to look like this: http://harrykenneyherbert-blog.com/page/2/ but with the “gallery” made up of page links, rather than the latest posts - which is what is shown here. Creating a static page removes the post thumbnails, and should allow me to build my own page, but all the content is pulled into the header, being shrunk and aligned to the top left where the header text seems to reside.)

Here’s the code from header.php that I’m assuming is the issue, but I’m brand-new to php so I can’t be sure if this is even a php or css issue: http://pastie.org/9156602

I’m going on three days trying to settle on a theme and if I can get this one tweaked, I can finally start making some progress. I GREATLY appreciate any help!

Just hide the header with some CSS on the home page rather than hacking the template which won’t be upgrade proof. If you definitely want to hack the template create a child theme and do a if home test before the header call and then skip over the header display.

Thank you for the reply.

I’m not sure if simply hiding it with css will fix the issue, as this header is interfering with the placement of information on the static home page. (Some confusion may also be arising because I don’t think this is a header in the technical sense, like h1, h2, etc, but just a large container that is being referred to as a “header” by the theme.)

For example, if you look at the Hatch theme demo here: http://demo.alienwp.com/hatch/ the “header” consists of the large image of a woman, and the text block to its left. When I set the home page to “static” in the theme options and try to build a home page, the theme takes any info (be it text or pictures) and places it inside of that text area, shrinking it if necessary.

Well you were right, Valkrider. I finally found a solution to this issue, and some custom css does the trick:

/static front page: hide title/
.home.singular-page .hentry .entry-title {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}

/static front page: content fix/
.home.singular-page #content { width: 68.0851%; }
.home.singular-page.page-template-fullwidth #content { width: 100%; }
.home.singular-page .hentry { width: auto; height: auto; }

Hope this helps anyone who may stumble across this problem in the future!

It is different for every theme that is why I gave you a generic answer.

I am glad you managed to sort it.

Sponsor our Newsletter | Privacy Policy | Terms of Service