Open Closed

Public site menu placement left #3241


User avatar
0
jfistelmann created

Hey :)

I have the requirement that the public site's menu is on the left and not on the top. In the settings however, I can only specify menu placement of the "normal" web app:

Changes in appsettings.jsonalso have no effect.

"Settings": {
    "Volo.Abp.LeptonTheme.Style.PublicLayout": "Style6",
    "Volo.Abp.LeptonTheme.Layout.Boxed": "False",
    "Volo.Abp.LeptonTheme.Layout.MenuPlacement": "Left"

  }

May it be, that this is not implemented or am I missing something?

If it is not implemented, what would be the easiest approach to get the menu on the left side? Sorry for asking, but I am a noob when it comes to MVC.

Thank you very much for your help.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Try to remove the lp-topmenu in aspnet-core\src\MyCompanyName.MyProjectName.Web.Public\Themes\Lepton\Layouts\Public\Default.cshtml

  • User Avatar
    0
    jfistelmann created

    hi

    Try to remove the lp-topmenu in aspnet-core\src\MyCompanyName.MyProjectName.Web.Public\Themes\Lepton\Layouts\Public\Default.cshtml

    Thank you very much maliming :) I did not expect it to be that easy.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09