0
WilliamT created
- ABP Framework version: v6.0.1
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
How do i hide side menu by default? I want it to have class "hover-trigger" by default.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
1 Answer(s)
-
0
Hi,
You can try this:
global.js
$(function(){ if($("#lpx-wrapper").length > 0) { $("#lpx-wrapper").addClass("hover-trigger") } })Configure<AbpBundlingOptions>(options => { options.ScriptBundles.Configure( LeptonXThemeBundles.Scripts.Global, bundle => { bundle.AddFiles("/global.js"); } ); });Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)