[Resolved] Content wide GP Hooks

Home Forums Support [Resolved] Content wide GP Hooks

Home Forums Support Content wide GP Hooks

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #502685
    Mildmac SA (ESA78960895)

    Hi,
    I wanted to know how to make the content of the GPHook not showed up site-wide, but the content box wide
    I created a top bar with elementor, included the shortcode in Before Header Hook and perfect. The onlu problem is that it shows the content site-wide and I want to restrict it beacuse my page design is boxed

    Thanks

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #503007
    Leo
    Staff
    Customer Support

    Hi there,

    Try doing this in hooks:
    <div class="grid-container">Hooks content in here</div>

    Let me know.

    #503141
    Mildmac SA (ESA78960895)

    It worked!!!
    Thanks a lot Leo

    #503205
    Leo
    Staff
    Customer Support
    #503466
    Mildmac SA (ESA78960895)

    Hi Leo,
    I´ve noticed that it doesn´t work in mobile mode. It does not cover the whole area when reduce the browser
    Perhaps I must use another classs?

    #503559
    Mildmac SA (ESA78960895)

    Solved, Leo. I add paddings:

    <?php if ( is_front_page() ) : ?>

    [elementor-template id=”58″]

    <?php endif; ?>

    #503861
    Leo
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.