Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alan Falloon 14 posts 144 karma points
    Oct 04, 2018 @ 23:22
    Alan Falloon
    0

    Using default umbraco.css in custom package

    What I am trying to do it replicate the file upload from media in a custom package/dashboard.

    Any ideas on how I can get the file upload box to load the correct styling?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Oct 05, 2018 @ 05:20
    Jan Skovgaard
    0

    Hi Alan

    I'm wondering if perhaps it would make more sense to use the umbFileUpload directive? There is some sparse documentation about the directive here https://our.umbraco.com/apidocs/ui/#/api/umbraco.directives.directive:umbFileUpload

    I'm not sure how you're currently doing it but sounds like you can benefit from using the directive instead if I'm not mistaken.

    But if for some reason it makes more sense to still keep going at using your own then you should be able to reuse the class names, since the umbraco.css is already in the codebase so it should not be necessary to include it again.

    I hope this makes sense :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft