Linking external / local css

Have you tried visiting http://127.0.0.1:8050/assets/custom.css in your browser? If Dash has picked your CSS properly it should be accessible there (replace http://127.0.0.1:8050 with the appropriate URL if not running locally with default port).

It’s possible this post might be relevant, the fix there was to add __name__ to the Dash constructor.