You can only add on a specific list of pages. However...
If you use firebug to explore the structure of your HTML for each node, you'll find that each node section has distinctive markup. I think this varies by theme, but for example, the first node I checked had
It is possible to target specific node types without using this module. I recall that I had a custom module at one of my sites that injects CSS dependent on node type (using else, elseif etc..).
That was back in Drupal 6, so I guess that the code needs adjustments in order to work inside Drupal 7.
I posted here because I believe it is always better to have one module that can do all related functions.
Maybe the developers will look into this in future releases of CSS Injector.
So far a great module. CSS files can grow very large on every site's page without this handy module.
Comments
Comment #1
rfayYou can only add on a specific list of pages. However...
If you use firebug to explore the structure of your HTML for each node, you'll find that each node section has distinctive markup. I think this varies by theme, but for example, the first node I checked had
So you can target it with
.node-amazon-example {
whatever...
}
Comment #2
rfayComment #3
W.M. commentedIt is possible to target specific node types without using this module. I recall that I had a custom module at one of my sites that injects CSS dependent on node type (using else, elseif etc..).
That was back in Drupal 6, so I guess that the code needs adjustments in order to work inside Drupal 7.
I posted here because I believe it is always better to have one module that can do all related functions.
Maybe the developers will look into this in future releases of CSS Injector.
So far a great module. CSS files can grow very large on every site's page without this handy module.