[Resolved] Page Header Module deactivated by mistake

Home Forums Support [Resolved] Page Header Module deactivated by mistake

Home Forums Support Page Header Module deactivated by mistake

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1141043
    J

    Upon adding a new post, I didn’t see the Page Header Module displayed, so I deactivated the Page Header Module by mistake thinking that if I reactivated it again I would see it in the Screen Options. I didn’t realize that it was repalced by Elements in the newer versions of your theme.

    What can I do if anything to get back all my global locations? Perhaps rolling back to an earlier version of Generate Press Pro?

    Thank you.

    #1141234
    David
    Staff
    Customer Support

    Hi there,

    If you go to Appearance > Elements at the top of the Display you should see Legacy Page Headers.

    #1141267
    J

    The problem is that I deactivated the Page Header Module, so I don’t see the Legacy Page Headers.

    #1141272
    David
    Staff
    Customer Support

    Sorry – i so obviously didn’t read that ….
    Tom provides an answer here on how to recover the old module:

    https://generatepress.com/forums/topic/page-headers-from-modules-page-lost-and-i-want-to-get-it-back/#post-759259

    #1141285
    J

    That doesn’t work. I still don’t see the Legacy Page Headers.

    #1141286
    David
    Staff
    Customer Support

    That should allow you to select the Page Header Module in Appearance > GeneratePress

    #1141298
    J

    No, the Page Header Module is not there.

    #1141306
    J

    All I want to do, which I cannot using the Elements Module, is to display the post title on the featured image at the top of the post.

    #1141315
    David
    Staff
    Customer Support

    Whats wrong with using the Header Element ? It works in much the same way as the Page Headers did.

    #1141339
    J

    Except for what I want to do. I just want to display the post title in the feature image, but Elements only displays the title under the menu. (See screenshot.)

    https://wetransfer.com/downloads/e204b7ec37a2431d5492eb7911a832cd20200123142143/360a0f31bdc1867152abf059b3d47e5d20200123142143/0ac23c

    #1141541
    J

    Or, just go here to see what I’m talking about.

    https://www.atnnow.com/ten-awesome-historical-words-we-should-bring-back/

    #1141580
    David
    Staff
    Customer Support

    Ok so i assume you want it displayed where the standard featured image does ie. within the content.

    To do that you need the PHP snippet provided here:

    https://docs.generatepress.com/article/generate_page_hero_location/

    Then in the Header Element:

    1. Add some top and bottom padding to create the necessary height of the image.
    2. Set the Background Image > Featured Image
    3. Disable the Featured Image to remove it from the default featured image from the post content.

    Let me know if thats correct

    #1141629
    J

    Getting close, but I can’t find where to put the PHP snippet.

    #1141673
    David
    Staff
    Customer Support

    This document explains how to add PHP:

    https://docs.generatepress.com/article/adding-php/

    #1141719
    J

    That snippet worked. The white text on featured image background didn’t stand out too well, so I just changed the background to a solid color. It doesn’t look too bad.

    https://www.atnnow.com/ten-awesome-historical-words-we-should-bring-back/

    I think this topic is resolved. Thanks for your all your help and for being so patient.

    I still need to explore all that the Elements Module can do, but I must admit it’s a great improvement over the old Page Header Module.

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