[Resolved] Page Header for Unique Child Pages

Home Forums Support [Resolved] Page Header for Unique Child Pages

Home Forums Support Page Header for Unique Child Pages

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #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.

    #141469
    Tom
    Lead Developer
    Lead Developer

    Database crashes are no fun – is the duplicate page header the only issue?

    #141482
    David

    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!

    #141601
    Tom
    Lead Developer
    Lead Developer

    What do you mean by crash? Any specific errors?

    #141728
    David

    @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!

    #141807
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #141875
    David

    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/

    #141884
    Tom
    Lead Developer
    Lead Developer

    Gotcha!

    Re-add the image.

    Then add this CSS:

    .parent-pageid-201 .page-header-image {
        display: none;
    }
    #141910
    David

    Lol. Thanks you sensei Tom. πŸ™‚

    I hope to showcase this site in two weeks. GP is a life saver.

    #142432
    David

    We can mark this resolved.

    #142436
    Tom
    Lead Developer
    Lead Developer

    No problem. Glad that worked! πŸ™‚

Viewing 11 posts - 16 through 26 (of 26 total)
  • You must be logged in to reply to this topic.