Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

separate custom.css for each style

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I was thinking of creating a duplicate of BuildR for a different area of the site.

I set up the duplicate Templates: Style but I only see one custom.css

Is there a way to have a separate custom.css for each copy of the template?
  • ODiN Mayland's Avatar
  • ODiN Mayland
  • LIfetime Developer - Big Bamboo
  • 818 posts
  • 10 Thanks
  • Karma: 8
The administrator has disabled public write access.
Hi Jeff,

That isn't possible unfortunately

You could target styles at the template id number as an alternative?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I've done this previously by duplicating the complete template and renaming it.
We had a public site and a members site each with different colours.
Worked just fine for me
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
Didn't think of that :)

Thanks
Andrew
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
But for me thinking about it I'd personally go down the route of using making use of the html classes

template-80 for example

So the css is targetted at the template style id

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hmmm not thought of that Paul.
Good call.
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
would make it one file although if you needed to duplicate the template the styles would fail as the id is unique to each template style

So that could get messy

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers