[Support request] title when using sections

Home Forums Support [Support request] title when using sections

Home Forums Support title when using sections

  • This topic has 3 replies, 3 voices, and was last updated 5 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #873266
    Nikolaj

    dear Tom,
    2 questions;

    1. Is there a way to have the page title shown when using the sections function? It seems to disappear when using sections?

    2. How to have a featured image being 100% of browser window despite of the page max-width?

    Have a pleasant day…

    Nik

    #873319
    David
    Staff
    Customer Support

    Hi there,

    1. Sections removes the entry header where the title is displayed. Where would you want the title to be displayed? Above the first section or over the featured image ( see point 2 )

    2. You can see a full with Featured Image using the Header Element, it also allows you to add the Post Title using the {{post_title}} template tag:

    https://docs.generatepress.com/article/header-element-overview/

    Template tags:

    https://docs.generatepress.com/article/header-element-template-tags/

    #873674
    Nikolaj

    thanks but not exactly what I was thinking; I just want to be able to show the title below the featured image and want the featured to be 100% according to browser window;

    Should I add the title to any template or?

    Nik

    #873713
    Leo
    Staff
    Customer Support

    Using the header element module should be the way to go.

    You can add this as content:

    <div>{{custom_field._thumbnail_id}}</div>
    <h1>{{post_title}}</h1>>

    And set the container to fullwidth.

    Keep in mind that your featured images need to be wide enough (2000+px) to show as full width in most browsers.

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