Site logo

Archived topic

Add container in hook (after header)

3 replies · Started by Sebastien on April 19, 2019

Viewing posts 1–4 of 4

Hi,
I would like insert a nav bar (shortcode) into a new container (same size / margin as Main content) after header .
I've tried to place in hook after header:

<div class="page-header grid-container grid-parent">
 my nav bar (shortcode)
</div>

it works, but it displays a container larger than the main container box.

any idea?

thanks

Hi there,

you should only require the grid-container class this will limit it to the container width you set in the customizer.

If you want to add it like that and link me to the page if you have problems.

that's just work perfectly thanks you so much =)

Glad to be of help

This archived topic is closed to new replies.