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.
It would be great (and maybe it's alreasy possible) if stylesheets could be shared among multiple subthemes. I need this to apply different subthemes for site-sections and activate them with themekey module.
e.g. a youthsection on a churchpage could have a different look / sphere. A lot of styling will be the same, so I do not want to make the changes in all the subthemes.
If it is already possible, could you please give me a hint how to accomplish this.
If not, consider this as a feature-request please.
Comments
Comment #1
rhache CreditAttribution: rhache commentedHi flodo,
At this juncture, this is how I would tackle this problem:
common.css
filecommon.info
file, remove all other stylesheets, and add a line for the newcommon.css
.I don't want to judge how good your skills as a themer are, but you should keep in mind that there is a general tendency to want to use new themes for site sections too quickly, without really using the theme's features to it's full potential. A few of examples of what I mean:
Hopefully this points you in the right direction. Let me know if you get stuck somewhere.
thanks,
Rene
Comment #2
rjay CreditAttribution: rjay commented