Last active
April 11, 2022 17:01
-
-
Save marklchaves/fa50986cf6a77135221111d658c17070 to your computer and use it in GitHub Desktop.
Adding sticky buttons fixed to the bottom of a page in Avada
Hi @hdurdan,
I saw your post on the Avada forum. I'm glad you found the hook that works for you.
If you're interested, I put together a minimalist visual of where some of the header and footer hooks show up on an Avada page. See the gist here.
https://gist.github.com/marklchaves/9e8e6cfc6d59d140e5b044679c82756f
Cheers!
Mark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Mark,
Thanks for creating this php hook - I've implemented it and was scratching my head as to why it wouldn't work, then I realised you're using the content copyright footer to append it too...
However, with the new Avada update - all my footers are handled through the global layout / element builder for more control... This by default turns off the 'avada_footer_copyright_content' option.
When I disabled my footer layout and went back to the OG footer it worked a charm. However, I really want to keep using the new footer layout - can you suggest an edit to the php add_action first argument to fix my issue?
Sorry if it's an obvious fix PHP is my weakest language 🥲
I hope you can help, thanks in advance! :)