How to keep app global footer stuck at the bottom
Hello. I have a footer for my application with the copyright. I did it with a RenderHook like this:
And it is working fine, but I would like to know how to make it sticky to the bottom. Now it appears when the content of the page ends, so it is in a different position every time.
I have tried to use CSS, but I don't know what class I have to manipulate.
Any ideas, please?
Solution:Jump to solution
GitHub
RenderHook constants by margarizaldi · Pull Request #10996 · filame...
Description
Memorization is just a pain.
Code style
composer cs command has been run.
Testing
Changes have been tested.
Documentation
Documentation is up-to-date.
10 Replies
Is working fine for me
What does your view look like?
My view is:
A very simple div with a p and some text. Just that.
Can't you just target the
myFooter
and align it at bottom?I have tried, but not working.
That is my class in CSS
And have used:
php artisan filament:assets
Using your advised RenderHook like this is not working for me. Now I see nothing of the copyright footer:
At least with my previous one I saw it:
What is your filament version
My renderhook is from a recent version where the renderhook names were changed
v3
maybe I have to update filament also
I have updated everything. And nothing is seen using 'PanelsRenderHook::FOOTER'
😫
Solution
GitHub
RenderHook constants by margarizaldi · Pull Request #10996 · filame...
Description
Memorization is just a pain.
Code style
composer cs command has been run.
Testing
Changes have been tested.
Documentation
Documentation is up-to-date.
Was released in 3.2.23
Thank you, friend.
I was using 3.2.0 but I did not realize that in my composer.json I had "filament/filament": "3.2". I have changed to "filament/filament": "^3.2", ran composer update and now it is working fine.
Tks a lot.