Archived topic
Footer Content
7 replies · Started by Ryan on December 30, 2017
I want to insert some content inside the the site-footer div but above the widget area. For example the logo of my site and tagline but on a separate row above the widgets. I can't find a hook for this, also I can't see how to do this in a child theme. What would be the best way?
Hi there,
You can create two separate <div> in the copyright area and they should stack on top of each other.
Let me know if this works for you.
Unless I’m misunderstanding. I don’t want it in the copyright area but the beginning of the footer area above the widgets.
Above footer widgets?
Then before footer hook and the before footer content hook should both work?
http://demo.generatepress.com/hook-locations/
What was the issue?
It put the content outside of the footer div. my footer has a background color I wanted the content inside the footer color area but above the widgets. Not above the entire footer.
We just have to use CSS to make that hook the same color as your footer widget background color.
This would be your HTML:
<div class="before-footer-content"> Content here</div>
And CSS:
.before-footer-content {
background-color: #000000;
}
Ahh yes I guess that is a simple solution, thanks!
No problem!