Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] After header hook

Home Forums Support [Resolved] After header hook

Home Forums Support After header hook

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #107917
    Scott

    My site is setup with navigation and header contained.

    I want to insert text below the navigation. I have inserted this using after header hook.

    However, the text is not shown in line with the header or navigation bar – it is to the left of the screen.

    Love the theme by the way.

    #107920
    Tom
    Lead Developer
    Lead Developer

    The after header hook is outside of any container, which is why it’s off to the left.

    You can wrap you content inside of the container class:

    <div class="grid-container grid-parent">
          Your content in here
    </div>

    Let me know if that helps or not πŸ™‚

    #110164
    Scott

    That worked thank you Tom.

    I would like to develop this a little further by having the page title and excerpt with a background colour below the header on every page like this and this

    Please could you give me some guidance as how to achieve this.

    Many thanks.

    #110173
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I explained how to remove the title from your content, and add it to the page header here: http://generatepress.com/forums/topic/full-width-title-on-single-post-page/#post-107005

    Then you can style the area with some CSS:

    .page-header-title {
          background: #1E72BD;
          color: #FFFFFF;
    }

    That should get you on your way πŸ™‚

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