Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Could someone kindly educate me on how to ensure the footer stays at the bottom of the screen regardless of the amount of content on the page. i.e. minimum page height. I've googled and tried various instructions, but none seem to work.
I've set the wrapper div to min-height:100% and position:relative. I've set the footer div to height:60px and position:absolute. This seems to be the solution for most themes but I've had no luck with it on the Amity Island theme.
Thanks!
Comments
Comment #1
Terebinth CreditAttribution: Terebinth commentedBump
Comment #2
shruti.sheth CreditAttribution: shruti.sheth commentedHello,
The following can be one of the solutions to this issue.
1. Add the following css code in your style.css file
2. You will have to give individual node css to the specific nodes that have larger content, for e.g. as follows,
Hope this helps!
Thanks,
Shruti