Archived topic
Change tag Element Site - Footer
3 replies · Started by Daniel Moreno Cuerda on March 3, 2023
Hi!
I would like to change the div tag of my Site Footer element so that everything is enclosed in a footer tag. I would like it to look something like this:
<footer class="site-footer">
My element
</footer>
Is there any way to do this? I've only managed to put the footer tag to the main div of my element, but it appears enclosed in another div with the site-footer class.
Thank you very much for your help.
Hi there,
Could you use a Block Element to build your Site Footer?
https://docs.generatepress.com/article/block-element-site-footer/
With that you can start with a GB Container BLock and set its Advanced Tag to Footer
And then build everything inside it.
Otherwise it will require Child theme.
Let me know.
Hello!
I've already found a way to get what I wanted with the Block Element.
Thank you very much for your help.
Glad to hear that!!