Site logo

Archived topic

Issues applying border to content

18 replies · Started by Tara Alemany on October 17, 2019

Viewing posts 1–15 of 19

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

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?

Hi there,

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

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

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 :)

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

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

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

Hmm it's currently added using the after_footer_widgets hook?

Hi there,

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

Let me know :)

No change.

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

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.

This archived topic is closed to new replies.