Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi davy,
drupal_add_css(path/style.css) doesn't work when there is already a style.css added. Maybe it's better to give the subsite css another name?
I had this problem because my theme already used a css file called style.css :)
Simon
Comment | File | Size | Author |
---|---|---|---|
#1 | subsites-746090.patch | 1.52 KB | davyvdb |
Comments
Comment #1
davyvdb CreditAttribution: davyvdb commentedComment #2
davyvdb CreditAttribution: davyvdb commentedHit "submit" too soon. Patch renames files to subsites/subsite-1.css with 1 the id of the subsite.
Test it trying to upgrade an installation having some subsite css.
Comment #3
harrrrrrr CreditAttribution: harrrrrrr commentedPatch works ;)
thx