-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to override or remove the Crown logotype from the header #1639
Comments
Making the change itself is easy. Understanding how we want teams to use the header and in which circumstances is more complex. |
As a local authority, consuming the npm module, we're at this point (needing to remove / replace icons and fonts) before we can start testing our first service internally. Looking at macro-options.json for the header component I don't immediately spot an option that would let us change the embedded govuk-header__logotype-crown svg via a param. Is there something I'm missing or are we best forking the header component and making the changes we need in our own project? |
@DevRCRun yes you're correct, for now you can't do that with the Nunjucks macro and will need to use HTML directly instead. |
I'm developing a Flask app. I'm using Any tips on what am I missing to get GOV.UK replaced with another logo? cc @NickColley |
@Dlozitskiy Is your Flask app loading our Nunjucks template directly? I would have thought Python apps would rely on Jinja templates (like this port of GOV.UK Frontend), as Nunjucks is a templating engine for JavaScript (although its syntax is taken from Jinja). If you're using |
Thank you @romaricpascal, that was indeed the case, had to modify |
As per alphagov/govuk-design-system-backlog#97 (comment):
The text was updated successfully, but these errors were encountered: