Override erpnext CSS using Custom App

Hi all,

I faced an issue that the CSS code is not shown on the ERP desk,
I use these steps:

  • Add css file in custom App
  • Uncomment the line in hooks app_include_css

I use this version
Screenshot from 2023-08-07 12-22-24

This is the structure I use

Please check it.

Maybe it becomes helpful for you.

1 Like

Try Creating bundle in version 14

1 Like

@NCP
Yes, I try the same your way and run

bench build
bench clear-cache

but the same nothing is changed.

the problem may be My CSS file is not listening in the Hooks file, I don’t know why?

Can you please explain how?
@niyaz_razak

I guess this is what @niyaz_razak referred to. Check this Asset Bundling

1 Like

after set:

bench build -app appname

1 Like

Yes, it’s working now.

Thank you so much
@niyaz_razak