[Resolved] how can I add to H1 in my page hero?

Home Forums Support [Resolved] how can I add to H1 in my page hero?

Home Forums Support how can I add to H1 in my page hero?

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #2376490
    eran

    HI,
    I have a Header element for the homepage, and I was wondering how I can add <br> to the H1 in my page hero?

    #2376671
    Ying
    Staff
    Customer Support

    Hi there,

    Are you using the {{post_title}} template tag?

    If so, you just need to change it to <b>{{post_title}}</b>.

    #2376684
    eran

    Yes,
    I’m using {{post_title}}.
    I want to break the sentence with <br>
    how can I do that?

    #2376721
    Ying
    Staff
    Customer Support

    Oh sorry, I misunderstand your question.

    Do you want to break the title into 2 lines? Will this header element apply to multiple pages or just front page?

    If just the front page, you don’t need to use the template tag, you can directly enter the title, eg.
    <h1>Best Streaming Equipment<br> for Twitch Streamers</h1>

    #2376729
    eran

    But now I have 2 H1.

    #2376740
    eran

    Nevermind I fixed it.
    i delete the h1 from the article

    #2376750
    Ying
    Staff
    Customer Support

    🙂

    #2382388
    eran

    Now I see In my footer (on all the pages except the front page) In the Review section.
    Because I delete the H1 from the front page the query loop doesn’t have H1 from the dynamic data.

    I add picture in the private message.

    How can I fix this?

    #2382469
    Ying
    Staff
    Customer Support

    Why did you delete the H1 from the article? I’m confused.

    #2382470
    eran

    Because I have the H1 from my header Block (on the front page)

    #2382476
    Ying
    Staff
    Customer Support

    Not sure why it’s related to the post title… the page hero on your homepage is using a static html title.

    What’s gonna happen if you add the post title back?

    #2382483
    eran

    Then I won’t be able to use <br>
    This is why I use this “<h1>Best Streaming Equipment<br> for Twitch Streamers</h1>”

    #2382485
    Ying
    Staff
    Customer Support

    I don’t understand.. why wouldn’t you be able to use <br>?

    If you add the post title back, the page hero should remain the same, no?

    #2382492
    eran

    I have added the post title now.
    You can see now that the sentence doesn’t break at all.
    And I cant add <br> to it.

    #2384805
    eran

    How can I add <br> to my homepage title?

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