0
Welcome Guest! Login
0 items Join Now

How to change 12 to 16 in Joomla 2.5, Gantry Template 3.2.13

  • How to change 12 to 16 in Joomla 2.5, Gantry Template 3.2.13

    Posted 13 years 1 month ago
    • I have tried a number of methods documented here by Henning and David Goode, without success. They refer to techniques for 1.5 and 1.6. Can someone please post a definitive, step by step list of changes needed to the template-options.xml file to change from 12 to 16?

      I am using Gantry Template 3.2.13, Framework 3.2.16, Joomla 2.5.2

      Another question before i update to Framework 3.2.17. Is the best technique to prevent style overrides still this:
      www.rockettheme.com/forum/index.php?f=33..._v=viewtopic#p533658

      FIles i've modified in the template folder:
      /css/style4.css
      /css/template.css

      And in libraries folder:
      /gantry/css/joomla.css
      /gantry/css/gantry.css

      Where can i put the code in those files into one place where Gantry Template and Gantry Framework updates will NOT alter them? Must one place ONLY the altered lines of code into another file... or can one put ALL the code into another file?

      Thanks (just renewed my developer license for another year today... in large part because of the support here in the forums...)
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: How to change 12 to 16 in Joomla 2.5, Gantry Template 3.2.13

    Posted 13 years 1 month ago
    • www.rockettheme.com/forum/index.php?f=92..._v=viewtopic#p675643
      should still be valid.

      The easiest way is still to add your file via a gantry-function in the head-tag in the
      index.php of your template ...

      <?php $gantry->addStyle('custom.css'); ?>
      will add a single css file

      a line like this
      <?php $gantry->addStyles(array('custom-1.css','custom-2.css')); ?>
      would add more than 1 ...

      The css has to go into the css folder of template ...

      Never change a file in the core of gantry. They will be overridden with every update.
      If you find a line like this
      .module-title h2, h3, h4, h5 {letter-spacing: -1px;line-height: 1em;}
      and you want override the letterspacing ... don't change that line directly.

      Instead of that add this line
      div.module-title h2, h3, h4, h5 {letter-spacing: 0px;}
      to your custom css file ...

Time to create page: 0.092 seconds