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.
I have installed the css injector module, activated it in the modules administration, and granted permission to administer it to my admin group. I am able to create rules and the appropriate files are being created in /sites/default/files/ as css_injector_1.css ...
However, the rules are not being applied. The link to the css_injector_n.css file is not generated.
Only the following appear:
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?K" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/default/files/css/e47846c1785671d835f50a723dad21b1.css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/sites/all/themes/marinelli/giordani/iestyles/ie6.css" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="/sites/all/themes/marinelli/giordani/iestyles/ie7.css" />
<![endif]-->
I have tried making the rules to allow very broad and very specific but there is no change. Rules I have tried are:
- Add on every page except the listed pages and left Pages blank
- Add on every page except the listed pages and entered admin* in Pages
- Add on only the listed pages and entered teacher-blog to Pages (the view I'm trying to inject)
Any suggestions?
Comments
Comment #1
derbium CreditAttribution: derbium commentedsorry this can be deleted, misspelling in title, resubmitted.
Comment #2
klonos