- This topic has 25 replies, 4 voices, and was last updated 5 years, 3 months ago by
Tom.
-
AuthorPosts
-
October 2, 2015 at 12:36 am #141363
David
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.
October 2, 2015 at 8:06 am #141469Tom
Lead DeveloperLead DeveloperDatabase crashes are no fun – is the duplicate page header the only issue?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 2, 2015 at 8:52 am #141482David
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!
October 3, 2015 at 12:26 am #141601Tom
Lead DeveloperLead DeveloperWhat do you mean by crash? Any specific errors?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 3, 2015 at 11:38 am #141728David
@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!
October 4, 2015 at 12:10 am #141807Tom
Lead DeveloperLead DeveloperIt 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 π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 4, 2015 at 9:54 am #141875David
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/October 4, 2015 at 10:30 am #141884Tom
Lead DeveloperLead DeveloperGotcha!
Re-add the image.
Then add this CSS:
.parent-pageid-201 .page-header-image { display: none; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 4, 2015 at 2:14 pm #141910David
Lol. Thanks you sensei Tom. π
I hope to showcase this site in two weeks. GP is a life saver.
October 6, 2015 at 3:42 pm #142432David
We can mark this resolved.
October 6, 2015 at 4:40 pm #142436Tom
Lead DeveloperLead DeveloperNo problem. Glad that worked! π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.