Rick Reszler

A Graffiti CMS powered site
  • rss
  • Home
  • Photos
  • Community
  • Contact
  • RSS

How To: Change the Default Color for the Graffiti Skittlish Theme

Rick Reszler 5/29/2008 12:20:00 AM

For some reason I was scratching my head on this and even asked this of the Telligent Tip Master.

I guess this is partly due to the fact that I am still learning my way around Graffiti and mostly to do with the fact that I am more of a hacker then a dev. This is how easy it is to do and I hope it helps someone because I really love this theme!

  1. Navigate to \wwwroot\files\themes\Skittlish\ and open up the app.js file.
  2. Locate line 75 in the app.js file (in bold) change it to one of the other predefined colors for example I changed mine to cookie = 'fixed blue' I found the color names in the base.css file in the same folder. The choices are blue, cyan, green, orange, pink, red and violet.

/* el customizer */
function loadPreferences() {
  var cookie = getCookie('skittlish');
  if (cookie == '') {
   cookie = 'fixed orange';
  }

I also want to point out that this could all be done using just the site itself no FTP required. Just go to the ControlPanel -> Site Options -> Utilities -> File Browser then navigate to the path above and click on the app.js this will open up another page with an Edit button.

Technorati Tags: GraffitiCMS
  • Popular Posts

    • Rob Howard sets the record straight on Graffiti-vs-WordPress
    • Graffiti Themes
    • Retired Apache for Blackberry Pearl
    • One Year Anniversary Telligent FTE
    • Graffiti CMS 1.0 Released
  • Random Thoughts

    • @dfwdraco76 yea and I still may end up reloading it, grrrrrr!
    • @dfwdraco76 what's up with that? :-D
    • OMG Sierra Nevada Torpedo. YUM!!!
    • Follow Me on Twitter
  • Categories

    • GraffitiCMS
    • Personal
    • Technology
    • Wizards Space
  • Hosting Infrastructure:
    IIS7 & SQL2008
Powered by Graffiti CMS
  • design by jide
  • Theme converted to GraffitiCMS by Adonis Bitar