Footer sticky at the bottom

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
chriseizus
Posts: 1
Joined: 11 May 2019, 16:42

22 Dec 2019, 00:52

Hi,

Currently, if the page content height is smaller than the browser height, the footer will not be sticky to the bottom.
I need an option to make the footer sticky at the bottom of the browser.

Thanks

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

23 Dec 2019, 11:41

Hi,
You can add the below code in your stylesheet or _layout_styles file in overrides folder (src/assets/sass/overrides);

Code: Select all

.layout-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

Post Reply

Return to “Serenity - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests