In the custom CSS file of a Django app, I included a new class and adjusted the HTML accordingly.
The issue arises when the class
is added to elements like buttons but the changes do not appear on the page.
For instance:
Please review the following snippet
<button type="button" class="btn btn-primary btn-lg">Text</button>
I introduced a new class called .btn-custom in custom.css and updated the HTML file correspondingly.
Upon refreshing the page, the tag above was modified to
<button type="button" class="btn btn-custom btn-lg">Text</button>
However, the style does not seem to be making an impact on the page.
I verified the custom CSS file by inspecting the source and confirmed that my changes were saved.
Even after attempting measures like hard refreshes and cache clearing, it took 2 to 3 hours for the changes to finally take effect.