0
Welcome Guest! Login
0 items Join Now

CSS Reversion

  • CSS Reversion

    Posted 12 years 5 months ago
    • I have a rather annoying and weird problem. About 6 CSS have been edited and every few hours they revert back!

      Under /Cache there is gantry and gantryless.
      Like
      ccb6a3fb482e991ba01e7eb32a8b3dea-cache-Gantry-7c2784b31572e85634176eb7385b7556.php

      I beleive these funny cache files are reverting CSS like

      public_html/libraries/gantry/css/grid-responsive.css
      public_html/templates/rt_graffito/css-compiled/master-0f6ed30423088ba4ec8d63f801fb9e0c.css

      Any ideas please?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: CSS Reversion

    Posted 12 years 5 months ago
    • When you edit css files you need to edit original files and not compiled files and certainly not cached php files that contains css definitions 8)

      Create custom css file and put your css overrides in it

      This is how you create a custom CSS file...
      www.gantry-framework.org/documentation/j...-a-custom-stylesheet

      When we release upgrades template files will change and you will have to reapply all your changes again (that's if you can remember where they all are). If you keep your changes in a separate Custom CSS file you'll have no issues upgrading.
    • Check my services at: Mihha-Vision
  • Re: CSS Reversion

    Posted 12 years 5 months ago
    • Thank you, Igor, interesting to know.
      The changes are more edits than additions. Like change of width or removal of a line.
      How will I be able to add that as no real extras.
      Cheers
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: CSS Reversion

    Posted 12 years 5 months ago
    • Copy css definitions, put them in custom css file and add "!important" at the end of each definition
    • Check my services at: Mihha-Vision
  • Re: CSS Reversion

    Posted 12 years 5 months ago
    • I dont know what was changed since someone else did it.
      Would copying the entire file work? Is there a way to stop the overwritting by changing the base file.
      Thanks
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: CSS Reversion

    Posted 12 years 5 months ago
    • The only way to save your own customizations is to put them in custom css file 8)
    • Check my services at: Mihha-Vision
  • Re: CSS Reversion

    Posted 12 years 5 months ago
    • Since I do not know which points have been changed, can the entire file be pasted?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: CSS Reversion

    Posted 12 years 5 months ago
    • No because you will get the same thing. You need to put css overrides in custom css file
    • Check my services at: Mihha-Vision

Time to create page: 0.095 seconds