Site logo

Archived topic

Content wide GP Hooks

6 replies · Started by Mildmac SA (ESA78960895) on February 22, 2018

Viewing posts 1–7 of 7

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

Hi there,

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

Let me know.

It worked!!!
Thanks a lot Leo

No problem!

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?

Solved, Leo. I add paddings:

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

[elementor-template id="58"]

<?php endif; ?>

Glad you figured out!

This archived topic is closed to new replies.