0
Welcome Guest! Login
0 items Join Now

Gantry Multiple Template Styling

  • Gantry Multiple Template Styling

    Posted 12 years 6 months ago
    • Hello there. I have a Gantry template but I want to make some template over rides for some specific pages. I understand how to copy and assign the template and that's working great but I'm stuck with how to adjust the .less or .css files so that specific styling is only for a specific template. For example, I want the page heading or module headings to be a different colour.

      I know I can assign that information at a page level but is what's the best way to do it at the template level?

      Example page for template 1: www.skils.ca/dev/about-us.html
      Example page for template 2: www.skils.ca/dev/resources.html (It's the same but really just a different colour pallet)

      Would I be better just to upload it as an entirely different template under a different folder under /templates?

      Thanks so much for your help.

      Cheers,

      David J.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Gantry Multiple Template Styling

    Posted 12 years 6 months ago
    • You can always use Page class suffix for each page you want to customize. That way, you will have to add css definitions for each element on the page that you need to customize
    • Check my services at: Mihha-Vision
    • Kibby's Avatar
    • Kibby
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Gantry Multiple Template Styling

    Posted 12 years 6 months ago
    • I uploaded a new Metropolis to be used along with other RocketTheme themes which led me to believe that they would be added in "Alternative Layout" drop-down in module manager.. But it just kept showing "Default".. I was hoping it to list two templates. That would make super sense if they are automatically integrate without any hacking.

      Am I overseeing something?
    • Kibby's Avatar
    • Kibby
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Gantry Multiple Template Styling

    Posted 12 years 6 months ago
    • Or is it possible to enter template name in module suffix to invoke their template's styling? What do I enter?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Gantry Multiple Template Styling

    Posted 12 years 6 months ago
    • @Kibby

      Please open new thread next time with your question and don't hijack other member's threads 8)

      What you are trying to do is not possible and this is not specific to our templates. Something like this is not possible in Joomla in general
    • Check my services at: Mihha-Vision

Time to create page: 0.068 seconds