[Support request] Heading outside of a DIV

Home Forums Support [Support request] Heading outside of a DIV

Home Forums Support Heading outside of a DIV

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2264279
    Rostyslav

    Hello,

    Is putting a heading not inside in a div a bad practice?

    Can I have this structure https://ibb.co/d6pVfry instead of this: https://ibb.co/3y3pkTn ?

    My main doubt is when the heading is not inside a container div is a bad practice using generateblocks?

    Option1:

    CONTAINER
    CONTAINER
    HEADING <h2>
    CONTAINER
    CONTAINER

    Option2:

    CONTAINER
    CONTAINER
    CONTAINER
    ———HEADING <h2>
    CONTAINER

    Thanks!

    #2264286
    Leo
    Staff
    Customer Support

    Hi there,

    I would say it depends…

    Can you link me to the page in question?

    Let me know 🙂

    #2264573
    Rostyslav

    Yes

    #2264575
    Rostyslav

    Should I create a specific container just for that <H2>? I just want a full width different background color for that heading.

    #2264730
    David
    Staff
    Customer Support

    Hi there,

    with a Full Width page, then yes you will need to add the Headline Block inside a Container Block.

    #2264975
    Rostyslav

    Hi David,

    I this estructure correct? https://imgbb.com/d6pVfry
    or its better practice like this: https://ibb.co/PWVzwfV?

    #2265006
    David
    Staff
    Customer Support

    Are you using a Full Width page ?

    If yes then use this one: https://ibb.co/PWVzwfV

    If No then use either one.

    #2265116
    Rostyslav

    Yes,
    I am using a Full With page with inside container of 1200px.
    So, how can I put a custom full width background color for a H2 heading using this structure https://ibb.co/PWVzwfV?

    #2265290
    Fernando
    Customer Support

    Hi Rostyslav,

    Since you have and inside container of 1200px, you can place the H2 within a Container Block itself outside of the Container Block you have, and the set the Container and the Inner Container to Full Width.

    Example: https://share.getcloudapp.com/p9uOAOg1

    Otherwise, if you follow the current structure you have, you can just use the WP width setting, and set it to full width as such: https://share.getcloudapp.com/ApuXzXK5

    Either should work.

    Hope this clarifies!

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