HP Hooks alignment in container width

Home Forums Support HP Hooks alignment in container width

Home Forums Support HP Hooks alignment in container width

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #174563
    Rogi

    Tom,

    My site uses the 1024px container width and i want to put GP hook after header.

    But, when i insert the GP Hook the frame is stuck on the left side.

    How to fix this?

    #174579
    Tom
    Lead Developer
    Lead Developer

    Wrap your content in the container HTML:

    <div class="grid-container">
        Stuff in here is contained
    </div>

    That should do it 🙂

    #175980
    Rogi

    Tom,

    It worked!

    But … I’m not getting centralize content.
    I tried “P ALIGN = CENTER”, but did not work.

    And I am also not able to choose the background color of th GP Hook.

    Help me, man.

    #175998
    Tom
    Lead Developer
    Lead Developer

    Give it a unique class:

    <div class="grid-container my-cool-container">
        Stuff in here is contained
    </div>

    Then give it some CSS:

    .my-cool-container {
        text-align: center;
        background-color: #222222;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.