0
Welcome Guest! Login
0 items Join Now

CSS Changes

  • CSS Changes

    Posted 10 years 5 months ago
    • Hi,

      I would like to know whether any changes done in template.css would remain persistent after the next update to framework?
      If it does, I would like to know any alternative means by which it can be done so that the changes made are reflected throughout.

      Thanks,
      Ashwin KS
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: CSS Changes

    Posted 10 years 5 months ago
    • You should never make changes to any of original template files files. The correct method for adding custom CSS is to use a custom CSS file.

      This is how to create a custom CSS compatible with Gantry 4...

      Simply create a file called "<TEMPLATENAME>-custom.css" and put this file in the CSS folder of the template (where <TEMPLATENAME> is the name of the template as seen in template manager e.g. rt_fracture). GANTRY4 will automatically load this CSS file. If you wish, you can also have browser specific files by appending, for example, "-ie9" making the filename "<TEMPLATENAME>-custom-ie9.css"

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.064 seconds