0
Welcome Guest! Login
0 items Join Now

General questions- template-custom.less

    • Recto's Avatar
    • Recto
    • Jr. Rocketeer
    • Posts: 30
    • Thanks: 0

    General questions- template-custom.less

    Posted 11 years 7 months ago
    • Hello,

      I´ve made all my css changes into the template-custom.less and not in the normal template-custom.css. Is this ok or should general css changes be in the css file?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: General questions- template-custom.less

    Posted 11 years 7 months ago
    • if you are using
      template-custom.css
      there must exist a file template.less

      template-custom.css
      just doesn't not work
      it needs to be [template-name]-custom.css in the css folder of the template.
      For Corvus it needs to be rt_corvus-custom.css.

      The advantage of custom css files is that you can have the browser/platform specific:
      www.gantry-framework.org/documentation/j...r_browser_control.md
      like
      rt_corvus-custom-safari.css

      If you want to use LESS or CSS depends on your needs or what you like more.
      Both work.

Time to create page: 0.057 seconds