Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

metronic8 vue


Hello, if you set the Sidebar to Light in metronic8 vue, the Fixed toolbar mode in the Header will not take effect. Please help solve this problem


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


Hi,

I want to apologize for the late reply.

Can you try to clear local storage in your browser?

On the first layout load, we store the layout configuration in local storage, to see the changes you make in src/layouts/default-layout/config/DefaultLayoutConfig.ts you should either clear local storage directly or press the reset button on layout builder page.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



// // Light sidebar
// if (layout === "light-sidebar") {
// this.configStore.setLayoutConfigProperty(
// "header.default.fixed.desktop",
// false
// );

// this.configStore.setLayoutConfigProperty(
// "header.default.fixed.mobile",
// false
// );
// }

\src\core\services\LayoutService.ts

In this file, there is code that disables header.default.fixed.desktop of light-sidebar. After I commented out these codes, it worked normally. I don’t know why?



Hi,

Could you please specify which Metronic version and demo you are using?

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hello
The version is 8.2.8



Hi,

Are you using Demo 1?

We’ve checked our demos and didn’t find any issues with the light/dark sidebar layouts.

Can you provide specific steps for reproducing the issue?

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(