Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Advertisement below the site navigation bar

Home Forums Support Advertisement below the site navigation bar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #53646
    Philippe

    Hello,

    How to add an advertisement below the site navigation bar ?

    I would like to add html code.

    Tks by advence.

    #53647
    Tom
    Lead Developer
    Lead Developer

    There’s a hook called “generate_after_header” that you can hook in to.

    If you have GP Hooks – you can add your HTML in the “After Header” hook.

    #53669
    Philippe

    This is a fonction only for pages, not ?

    I would like a similary possibility for my “home page” (www.xyz.com) not for real page (www.xyz.com/generate).

    Is’t possible ?

    #53672
    Philippe

    I found a solution with GP Hooks / After Header, it works, but I can not aficher the image in the center, it is still left

    #53678
    Jean

    Try to give a class for your image, and then use this code on your style.css file

    IMG.yourclassname {
        display: block;
        margin-left: auto;
        margin-right: auto }

    This should center your image.

    #53738
    Tom
    Lead Developer
    Lead Developer

    The above CSS should work (thanks, Jean!).

    You can also wrap the image in a container, like so:

    <div class="grid-container grid-parent">
          Your image html in here.
    </div>
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.