css - Custom stylesheet is not being applied as expected -


i use code snippet in django-ckeditor

but in target page can‘t work when change css

whatever change in css

<link rel="stylesheet" href="/static/highlight/styles/monokai_sublime.css"> 

the css default.css

so problem?

my base.html is:

<link rel="stylesheet" href="/static/highlight/styles/monokai_sublime.css">  <script src="/static/highlight/highlight.pack.js"></script>  <script>hljs.inithighlightingonload();</script>

in settings set static_url = /static/ , static_dirs = path.to.static.files.

then in base.html template, @ top {% load staticfiles %}. furthermore, can use <link rel="stylesheet" href="{% static 'styles/monokai_sublime.css' %}"> (assuming that's how path setup).


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -