demo1 landing page default state
i want keep the header of the landing page at the sticky state with the white backgroud by default, how do i achieve that.
Thank you
Replies (2)
Hi
"Could you please provide us with more info? What is your Metronic version and framework
(React, Angular, Vue, or HTML)?"
Regards
Hi,
You will need to edit src/sass/components/_landing.scss
to customize the default header style. The sticky mode is styled under [data-kt-sticky-landing-header="on"]
condition so you can
// Landing header
.landing-header {
display: flex;
align-items: center;
height: $landing-header-height;
background-color: $white;
...
}
Then recompile your assets folder with Gulp or Webpack.
Please note that the build tools are required only in the development environment just to compile the assets when the source folder files are modified. In the hosting/server deployment you will only need the compile assets, no need to install the build tools dependencies there.
Regards.