0
Welcome Guest! Login
0 items Join Now

Best Practices for Adding Custom CSS Styles to a Template

    • MarkL's Avatar
    • MarkL
    • Newbie
    • Posts: 6
    • Thanks: 0

    Best Practices for Adding Custom CSS Styles to a Template

    Posted 14 years 8 months ago
    • Hi,

      I'd like to add some custom CSS styles to an RT template. I did not find anything on this site that provided best practices or guidance on how to do this. My goal is to do slight additions to the base template with the ability to keep up with template upgrades. i.e. I don't want to lose my changes, and I want to get the periodic template fixes/updates.

      anyone got any suggestions?
      (I am not asking how to create CSS styles - I know how to do that :-)
      thanks
      Mark
  • Re: Best Practices for Adding Custom CSS Styles to a Template

    Posted 14 years 8 months ago
    • MarkL's Avatar
    • MarkL
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Best Practices for Adding Custom CSS Styles to a Template

    Posted 14 years 8 months ago
    • Ok. thanks - I'll give that a try.

      question - does the index.php file get overwritten when a template upgrade is installed?

      Mark
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Best Practices for Adding Custom CSS Styles to a Template

    Posted 14 years 8 months ago
    • It does not get overwritten when Gantry is upgraded, but if the template is upgraded, it depends. If you uninstall the template and re-install, then you'll lose it of course. But, if you just upgrade the files in the changelog, you'll be able to see it index.php is one of them and you can compare it to yours to see the changes made.
  • Re: Best Practices for Adding Custom CSS Styles to a Template

    Posted 14 years 8 months ago
  • Re: Best Practices for Adding Custom CSS Styles to a Template

    Posted 14 years 8 months ago
    • Awesome ! Thanks for going to the trouble of creating the files to use. I finally got my changes to work. Regards - John

Time to create page: 0.067 seconds