Archived topic
Page Header for Unique Child Pages
25 replies · Started by David on September 30, 2015
I did indeed have that placed in the After Header. There might be something else at fault here.
I just had a major database crash and it seems it's not repairable. I do have a back up from the other day but I think I may need to do another fresh install of the database and install the posts and page. I am assuming that there is something left over from the previous theme in the database.
I'm not sure now. This is a big set back now. I'll have to keep you posted.
Database crashes are no fun - is the duplicate page header the only issue?
The duplicate header is the only issue. There is definitely an issue with the original database. Ran a clean install. Ran repair from PHPadmin panel. Crash again!
What do you mean by crash? Any specific errors?
@bdbrown I have no idea why it's duplicating. I only have it placed once within "After Header."
@Tom This is only occurring with the pages listed under the menu "Cities." I see that both the hook and the Page Header block are showing up.
<div class="page-header-content generate-page-header generate-content-header"><div class="inside-page-header-container inside-content-header grid-container grid-parent ">
<header style="display:block;" class="entry-header">
<h1 id="titlebar">Accra</h1>
</header></div></div>
<div class="page-header-image grid-container grid-parent generate-page-header"><img width="950" height="679" src="http://www.datatest.dev/wp-content/uploads/2015/10/a437cc_f97c7d493b884bc08dcef4af4d4befdb.jpg" class="attachment-full" alt="a437cc_f97c7d493b884bc08dcef4af4d4befdb"></div>
How do I get that second div not to show up?
Cheers!
It depends on how it was added in the first place. It looks like it's just a regular page, so I assume that image is coming from the Page Header/Featured Image metaboxes? How about just removing it from there?
Let me know :)
It is coming from Page Header Image metabox. I removed the image from "Page Header Image".
Title is showing. That is good.
The image is not showing.
You can review the results here:
http://designismylife.com/tastemakersafrica/cities/accra/
Gotcha!
Re-add the image.
Then add this CSS:
.parent-pageid-201 .page-header-image {
display: none;
}
Lol. Thanks you sensei Tom. :-)
I hope to showcase this site in two weeks. GP is a life saver.
We can mark this resolved.
No problem. Glad that worked! :)
