Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
CSS
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2014 at 22:27 UTC
Updated:
19 Feb 2021 at 04:35 UTC
Jump to comment: Most recent
Comments
Comment #1
brahmjeet789 commentedHello there,
If you created css file with the same name is not refected on site, because it create confusion for theme system which file will be implemented? so it is better to use file with different name or added your css into same css file. May be this will help you.
Thanks,
Comment #2
dcam commentedSee the drupal_get_css() API documentation:
So this behavior is intentional. If you want to avoid collisions then you must rename your stylesheets.
Comment #4
jvdkolk commentedWhen using third-party libs, its not always possible to (easily) rename those CSS (and JS) files.
Please check the 'basename' property in drupal_add_css.
Comment #5
phuocdv commentedThanks