I wanna know how can I change the default font using in django admin interface?
Brgds
admin in your template directory.base_site.html in there.Create a css file in your static directory. for example: override.css, where you might put the code for changing font:
 p {
  font-family : "Fira Code"
 }
 h1 {
  font-family: "Fira Code"
 }
Now update the base_site.html like following:
{% extends 'admin/base_site.html' %}
{% load static %}
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static 'override.css' %}" />{% endblock %}
The override.css will change the fonts of p and h1 across admin site. Modify override.css according to your need. Hope it helps!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With