Site logo

Archived topic

HP Hooks alignment in container width

3 replies · Started by Rogi on February 22, 2016

Viewing posts 1–4 of 4

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?

Wrap your content in the container HTML:

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

That should do it :)

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.

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;
}
This archived topic is closed to new replies.