Site logo

Archived topic

Wrap element in

11 replies · Started by Jacob on January 16, 2022

Viewing posts 1–12 of 12

Hi!

My question is how do I wrap the element the theme produces in a <footer> when I change the settings it removes the <footer></footer> altogether.

Perhaps this video is more clear, its only a min or so:

https://www.loom.com/share/472eb1fca964446499d0e97a3d40ec23

Also, while I have you, how do I remove the 'build with generatepress' at the bottom?

Thank you for all your help.

i just like the list element thing at the bottom, so i'm open to ideas if their is something easier.

Hi Jacob,

I'm not exactly sure what you are trying to achieve here.

Can you link me to the page in question and perhaps an example of the final result you are looking for?

Thanks for getting back :D

The 'footer' element created by elementor is not withing the <footer></footer> HTML tag. I'd like to ideally include it. Not sure if there is a quick way.

I've attached the link. In the box your staff can see. In inspector, look for the element </footer> and you'll see its not including the section.

Thanks.

`

sorry, i thought if i write out the code it might be more clear.

its kinda like this now:


<div>

important footer stuff.....

</div>
<footer> <-- this one 
more footer stuff...
</footer

I'd like it to be like this:


<footer> <-- this one 
<div>
important footer stuff.....
</div>
more footer stuff...
</footer

Hi Jacob,

Unfortuanly GP don't have such a hook inside the <footer> tag.

Do you have any specific reason for this?

To change the copyright text, go to appearance > elements, activate the copyright module, then go to customizer > layout > footer > copyright, you should be able to change the content there.

Let me know :)

Hi Ying!

Great thanks the copyright thing worked.

for the footer, can't i just move this tag? within the <footer> in the php?

do_action( 'generate_before_footer' );

Hi there,

you would need to use a child theme.
make a copy of the footer.php add your own hook inside there .

If you make any changes to the parent theme files they will be lost when the them updates.

Howdy! Thanks for all the help and please forgive the 101 questions.

I tried moving the hook lower in the code, i understand i'd have to create a child thing. However it is still not wrapping in the <footer> </footer> - the private info part i included a screenshot.

My general question is, where would I move the do_action( 'generate_before_footer' ); inorder for the section to be wrapped in the <footer> </footer>

Even guidance for my dev would work too if its more difficult then I realize. I'm entering a hyper competitive niche, where every last thing really matters, hence the out of the normal question.

Thanks!!

Thanks!

No problem :)

This archived topic is closed to new replies.