Hello, I have a questions. So I created a override template. So my main template is Gantry and the overide is let call it ORTemplate. I have the custom CSS called gantry-custom.css that works on the default template but let's say that I want 10 override template. The first one I will call 01_ORTemplate. Can I create a style sheet that calls that specific template? Or is there another way that I should be doing it that will keep the code clean. I simply added it in the gantry Template Manager. Any help will be appreciated.
If it were me I'd just use page class suffixes/styles... just target each page/menu item specifically in your single custom.css file if you want to apply different styling to different pages...
that would work well if only a few pages are assigned to each override... not so well if you have lots and lots of pages with a particular override applied.
But no, I'm not aware of any built-in mechanism to load a specific css file when a specific override template is in play.
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
Matt, thank you! Do you know if there is a maximum number of overrides that one can create? I agree that I can do a few but once I get to lots I have to create a solution that will allow for that external style sheet. I think that would be the cleanest way to keep up with the changes.
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT