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

Avoid missing logo disabling sidebar -Demo1-Html


Hi.
I need to disable sidebar (menu) for one of my pages. I set data-kt-app-sidebar-enabled parameter to false and deleted all the other parameters related to sidebar on body tag.

<img src="https://i.imgur.com/0U4ZAyJ.png" />

Also I deleted the div with id kt_app_sidebar and the mobile sidebar toggle. This works well on mobile, but on desktop I missed the logo as you can see:

<img src="https://i.imgur.com/UcjKnpU.png" />

Is there a parameter to preserve the logo on desktop disabling the sidebar menu?

As always, thanks in advance happy


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 (2)


Thanks for the tip! I was struggling with the sidebar issue on demo1.html and couldn't figure out why the logo was disappearing. Your explanation about the layout behavior really helped.

By the way, for anyone working on customizing dashboards or just looking for some clean, high-res backgrounds, check out FondosPantallaHD.com - I found some great wallpapers there that make my dev setup look awesome!



Hi,

Please refer to Sidebar Disabled Layout example and add the required code for the logo in the header.

Regards.


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  :(