- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2022 12:43 PM - edited ‎01-23-2023 07:24 AM
I've tried so many different things to get the footer to stay at the bottom but there appears to be a conflict I can't find using the browser inspect tool. I've tried position absolute/relative on the elements html, body, main, footer, and a bunch of classes and ID's. Even when switched with OOB footer and header the footer was not on the bottom. I don't have any css in portal, themes, or css/js include.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2023 06:27 AM
Hi @Corbett Croslin,
I'm not sure if you already got this resolved but this is what I use to make the portal sections display properly especially the footer section when you want it to appear at the bottom without making it sticky.
In your portal theme, create a new CSS include and add the following:
/** Portal Page Section and Footer Fix **/
section.page {
display: flex;
flex-direction: column;
display: -ms-flexbox;
-ms-flex-direction: column;
}
section.page > main.body,
section.page > section.body {
flex-grow: 1;
flex-shrink: 0;
-ms-flex-positive: 1;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2023 06:27 AM
Hi @Corbett Croslin,
I'm not sure if you already got this resolved but this is what I use to make the portal sections display properly especially the footer section when you want it to appear at the bottom without making it sticky.
In your portal theme, create a new CSS include and add the following:
/** Portal Page Section and Footer Fix **/
section.page {
display: flex;
flex-direction: column;
display: -ms-flexbox;
-ms-flex-direction: column;
}
section.page > main.body,
section.page > section.body {
flex-grow: 1;
flex-shrink: 0;
-ms-flex-positive: 1;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2023 07:34 AM
Thank you. Yes this turned out to be a solution.
https://serviceportal.io/creating-sticky-footer-service-portal/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2024 01:50 PM
This solution worked for me but is not working for all pages. For example the standar_ticket page and the customer_order_details pages. I still get white space at the bottom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2024 01:51 AM
Hi, try with this
In Page,
main{
height:100vh;
}