-
Notifications
You must be signed in to change notification settings - Fork 57
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
How to customise the UI #144
Comments
Before official support is provided, I want to share a temporary solution for overriding some of the default styles of This method involves extending the Wagtail The steps are as follows:
.c-wagtailautocomplete__suggestions__item {
background-color: transparent !important;
}
.c-wagtailautocomplete__suggestions__item--active {
background-color: #ff7f77 !important;
}
{% extends "wagtailadmin/admin_base.html" %}
{% load static %}
{% block extra_css %}
{{ block.super }}
<link rel="stylesheet" href="{% static 'your-path/custom-wagtailadmin.css' %}" type="text/css">
{% endblock %} Make sure to replace 'your-path/custom-wagtailadmin.css' with the actual path to your CSS file. I know this is not a best practice, but I do have a hard time modifying the packaged dist.js and dist.css, and this method is simple enough to solve the problem for me. |
Hi, thank you for all the hard works.
For the UI, is there a way I can change the current red colour when selected to another colour? Or how to change the icon? Thank you.
The text was updated successfully, but these errors were encountered: