Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Is custom CSS in admin still possible?

default discord avatar
thgh.2 years ago
3

I tried settings admin.css but there is no result/error


https://payloadcms.com/docs/admin/customizing-css
  • default discord avatar
    echo.crow2 years ago

    can you try to run

    rm -Rf node_modules/.cache

    and restart payload?



    i think this is a known minor bug caused by webpack's cache:

    https://github.com/payloadcms/payload/issues/1213

    noticed the same when I tried to add

    admin.css

    for the first time; once added and cache was cleared, the feature worked fine

  • default discord avatar
    thgh.2 years ago

    Alright, that works indeed! I'm also using

    indexHTML

    as workaround to add meta tags because the favicon was also not updating.

  • default discord avatar
    gregwhitworth2 years ago

    This is still occurring for me. I've even deleted the entire node_modules directory and re-installed and it isn't working.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.