Topbar Fixed

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
dirac
Posts: 2
Joined: 04 Apr 2019, 22:03

14 Dec 2019, 20:14

Hi,

How can I set topbar, separator and breadcrumb fixed on top?

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

16 Dec 2019, 15:20

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

Code: Select all

body {
    .layout-container
    {
        &.layout-top-large, &.layout-top-medium {
            .layout-top {
                padding-bottom: 15px;
                position: fixed;
                z-index: 100;
                height: 180px;
            }
            .layout-content {
                 margin-top: 0px;
            }
        }
    }

    .layout-content {
        padding: 180px 100px 0 100px;
    }
}
(You can change padding or other styles)

Post Reply

Return to “Sapphire - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests