[Resolved] Before Header Container?

Home Forums Support Before Header Container?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #284368
    Dave

    Is it possible to have the Before Header GP Hook inherit the same “Contained” properties that apply to my header? My LAYOUT / CONTAINER is set to 1050px, so I’d like to have content above the header that has text aligned to the left that is the same left justified as my header? Does that make sense?

    EX SITE: http://dev1.igniswebdesign.com/

    Thanks!

    GeneratePress 1.3.44
    GP Premium 1.2.94
    #284369
    Leo
    Staff
    Customer Support

    Hi Dave,

    Try wrapping in your content in the hook like this:

    <div class="grid-container grid-parent">
          Your content in here
    </div>

    Let me know if this works.

    #284376
    Dave

    Hey Leo,

    Dang you are up on a Sunday answering support questions? Thanks man!

    So that worked to apply the container, but now there is white visible on either side? Is there a way to target that background color to make it all #3f3f3f?

    Thanks!

    – Dave

    #284377
    Dave

    Ah well I kinda answered my questions. That color is controlled by the Body color. I want the body white though – any way to keep the body white and that Before header area #3f3f3f?

    #284382
    Leo
    Staff
    Customer Support

    haha just doing the last round before going to sleep 🙂

    Try this in the hook instead:

    <div style="background-color: #3f3f3f">
        <div class="grid-container grid-parent">
            Your content in here
        </div>
    </div>

    Let me know.

    #284384
    Dave

    Boom! You are awesome, thanks Leo!

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