After acquiring a template from the internet, I attempted to adjust some colors by modifying the CSS file. Strangely enough, the changes were not reflected on the website:
HTML:
.user-panel {
float: right;
font-weight: 500;
background: #ffb320;
padding: 8px 28px;
border-radius: 30px;
}
<div class="user-panel">
<a href="https://example.com" target="_blank">Link</a>
</div>
This is how the .css file is imported:
<link rel="stylesheet" href="{% static 'css/style.css' %}"/>
Despite changing #ffb320
to
#cc0000</code for red instead of yellow and saving the file and reloading the page, the color remained unchanged. The same issue persisted with font size adjustments...</p>
<p>The only successful modification was achieved through <code>style='font-size:20px'
for the font size.
What am I missing here?