CMS/Admin Nav bar styling Issue

Vote:
 

Hi,

I am upgrading our CMS to a newer version to 12.3.2 and are still using the same ClientResources below.

@ClientResources.RenderResources("ShellCore")
@ClientResources.RenderResources("ShellCoreLightTheme")
<link rel="stylesheet" type="text/css" href="@Paths.ToShellClientResource("ClientResources/epi/themes/legacy/ShellCore.css")" />
<script type="text/javascript" src="@Paths.ToShellClientResource("ClientResources/ShellCore.js")"></script>
<link rel="stylesheet" type="text/css" href="@Paths.ToShellClientResource("ClientResources/epi/themes/legacy/ShellCoreLightTheme.css")" />

Expectation is something like this



Current view is

HTML code:



Is there a new ClientResource to use specific to nav bars?

#287055
Sep 12, 2022 7:07
Vote:
 

I think @Html.CreatePlatformNavigationMenu() is what you need to add.

Refer to: https://docs.developers.optimizely.com/content-cloud/v12.0.0-content-cloud/docs/adding-and-configuring-menu-items

#287056
Sep 12, 2022 8:09
Dan Paloma - Sep 12, 2022 8:13
Thanks for the reply. The @Html.CreatePlatformNavigationMenu() is already added in our page.
Tomas Hensrud Gulla - Sep 12, 2022 8:28
Ok, I saw only @Html.ApplyPlatformNavigation in your screenshot. I tend to mix up the two... :-)
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.