fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: Custom CSS not last

Custom CSS not last 10 months 3 weeks ago #30588

When you add a custom css file to the Custom Code function of Astroid, it should appear on the resultant web page after all other css files - it's a cascading stylesheet system, i.e. the last sheet is read first. And the last sheet should be the custom one, because it changes things in all the preceding sheets.

However, having added a Custom CSS file link, it appears before the existing css files and is therefore totally useless. The changes it contains will never be reflected on the generated webpage/s.

2 screencaps attached:
1st shows the custom css file entered in the relevant box within the Custom Code section of the Astroid template backend.
2nd is part of page source for the webpage that clearly shows " www.karn-evil.com/templates/astroid_temp...o/css/karncustom.css " above the system generated/compiled css files.

Can this be fixed?

Live site: www.karn-evil.com/
Joomla version: 3.9.28 Stable
PHP: 7.4.21
Attachments:
The administrator has disabled public write access.

Custom CSS not last 10 months 3 weeks ago #30601

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 4614
  • Thank you received: 652
  • Karma: 116
Hello,

First, Thanks for the suggestion. I share this suggestion with the developer.

Follow this method to use the custom CSS file.
docs.joomdev.com/article/how-to-use-cust...ss-files-to-astroid/

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.320 seconds
Cron Job Starts