« Return to Thread: Different stylesheet based on path

Re: Different stylesheet based on path

by psynaptic :: Rate this Message:

Reply to Author | View in Thread

I've not built a theme for Drupal 6 yet but in Drupal 5 what you can  
do is add a body class based on what's in arg(). This can be done in  
template.php.

psynaptic
http://freestylesystems.co.uk
http://api.freestylesystems.co.uk

On 25 Jun 2008, at 23:42, Jody Cleveland wrote:

> I'm running a site with Drupal 6.2 that will have many different  
> sections to
> the site.
>
> Is there a way to define a stylesheet based on path? Sections does a  
> great
> job defining themes based on path, but that only let's you choose a
> different theme. I'd love something exactly like that, but with the  
> ability
> to just choose a different stylesheet. Many of the sections on my  
> site will
> just use a different header graphic. I'd rather not duplicate the  
> template,
> just serve it a different stylesheet.
>
> Is there a way to do this?
>
> - jody
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]


--
[ Drupal support list | http://lists.drupal.org/ ]

smime.p7s (3K) Download Attachment

 « Return to Thread: Different stylesheet based on path