0
Welcome Guest! Login
0 items Join Now

Multiple styles

    • Luke Douglas's Avatar
    • Luke Douglas
    • Hero Rocketeer
    • Posts: 322
    • Thanks: 15
    • Another Old Hack!

    Multiple styles

    Posted 11 years 5 months ago
    • I know how to copy a template, change the style to 'dark' or 'light' and then use the 'headerstyle-dark' or 'headerstyle-light' to change the template look with CSS.

      But these are the only two classes that are put in the BODY tag. I have checked setting Presets but they are not displayed.

      Is there anyway, I can get either a template name or preset class into the BODY tag or increase the number of Style options in the Style tab for a template?

      FYI, has there been any discussion to alter the Gantry Framework to insert the template 'name' or 'preset' as a class in the BODY tag? The flexibility that this would provide to the Gantry development world would be immense!

      Example:
      Let's say you have created a new preset5 for a template. Is there a way to get some type of class like 'gantry-preset5' inserted into the BODY tag classes?
      <body  class="logo-type-gantry gantry-preset5 headerstyle-dark font-family-helvetica font-size-is-default menu-type-dropdownmenu layout-mode-responsive col12">
       
    • Just another old hacker!

Time to create page: 0.095 seconds