[Resolved] Add container in hook (after header)

Home Forums Support [Resolved] Add container in hook (after header)

Home Forums Support Add container in hook (after header)

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #873246
    Sebastien

    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

    #873303
    David
    Staff
    Customer Support

    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.

    #873321
    Sebastien

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

    #873327
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.