[Support request] Issues applying border to content

Home Forums Support [Support request] Issues applying border to content

Home Forums Support Issues applying border to content

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #1037524
    Tara Alemany

    I had developed a site years ago using the Genesis framework and Prose theme.

    I’m working in a staging area to recreate the look and feel of the site using GeneratePress. You can find that site in the private URL.

    I can’t find the right CSS to add to make the border stretch all the way around the header, menu, content and footer. Right now I’m using:

    body .container {
      padding: 5px;
      border: 3px solid #EDB7C1;
    	border-radius: 5px;
    }

    I’ve also tried:

    body .grid-container {
      padding: 5px;
      border: 3px solid #EDB7C1;
    	border-radius: 5px;
    }

    But that just makes every single section have its own border.

    Ideally, I’d like to make the nav bar float, like on the original site too, but that’s not as important as getting this border figured out.

    If anyone has any suggestions, I’d love to hear them. I’m using GP Premium and have the latest version.

    Thanks!
    Tara

    #1037551
    Leo
    Staff
    Customer Support

    Hi there,

    This should help:
    https://docs.generatepress.com/article/adding-a-container-wrapper/

    Let me know πŸ™‚

    #1037561
    Tara Alemany

    Awesome! Thank you, Leo. It works great, with one small exception.

    I want the footer widgets included in the border, but not the footer itself. I played with the various hook settings, but none of them seem to change things. Before_footer ends before the footer widgets, yet after_footer-widgets ends after the footer bar as does before_footer_content, after_footer_content and just simply footer.

    Any idea how to fix that?

    #1037594
    David
    Staff
    Customer Support

    Hi there,

    try the after_footer_widgets and change the Priority to 5 or less.

    #1037599
    Tara Alemany

    Closer, David. But not quite there yet… The footer bar (copyright bar) is still inside the wrapper.

    #1037604
    Leo
    Staff
    Customer Support

    Weird. The after_footer_widgets worked for me by default:
    https://www.screencast.com/t/mHPU4Y8wZ

    Your page requires username and password to view so I can’t see the issue.

    Any chance you can unlock it for now or provide the info?

    We can move the site link to the private URL field so only our staff can see it as well.

    Let me know πŸ™‚

    #1037697
    Tara Alemany

    You can use techsupport and SxZmrp!W^)XczHNm@8SsR((h.

    #1038058
    David
    Staff
    Customer Support

    Can you check those login details – i am being rejected.

    #1038404
    Tara Alemany

    Sorry. Same username and )36d5ZN3O1fBz1!lHCS%kBIM.

    #1038405
    Leo
    Staff
    Customer Support

    Hmm it’s currently added using the after_footer_widgets hook?

    #1038408
    Tara Alemany

    Yes. https://www.screencast.com/t/4i0e2GLp

    And I want it to end where the arrow points, not where the border currently is ended, which is after the footer bar. https://www.screencast.com/t/J8FFeGlY1Y

    #1038600
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    What if you use the footer hook in your Hook Element and set the priority to 6?

    Let me know πŸ™‚

    #1039291
    Tara Alemany

    No change.

    #1040483
    Tara Alemany

    Any other ideas? Is there any chance that doing this in a staging area is impacting the results?

    #1040806
    Tom
    Lead Developer
    Lead Developer

    Sorry we didn’t get back to you! Not sure how it slipped through.

    Can you try the footer hook using 4 as the priority?

    The copyright area is hooked into the same hook using 5 as a priority, so using 4 should fix it.

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