Happy Halloween! Get 20% off GP Premium with the discount code: HALLOWEEN20

[Resolved] Creating title bar below main navigation

Home Forums Support Creating title bar below main navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #936851
    Sabine

    Dear support team,

    I’ve bought GP some days ago and I’m very happy with it. But I’m getting a bit desperate about building a (page / article) title bar below main navigation menu (like here: https://stift-fischbeck.de/2019/05/signet-pilger-und-radwegekirche/ – the red bar with page / article title). What can I do to show it in that exact position between header and all content and sidebars? It should cover the whole width, but the title should appear above the container. I hope you understand my problem.

    What I’ve already tried / done: I’ve created a header hook with this content <h1 class="entry-title">Title to be shown here</h1>, container and inner container “full width”; display rule: “all singular”.

    I would be greatful for all advices!

    #937017
    David
    Staff
    Customer Support

    Hi there,

    edit your Header Element and set the Inner Container to contained. Then to make your title display dynamically use this HTML for your content:

    <h1 class="entry-title">{{post_title}}</h1>

    #937024
    Sabine

    Cool, thank you so much for your quick help – that works 🙂

    #937027
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.