Footer sticky at the bottom

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: 648
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 2 guests