Title: bakaat's Replies | WordPress.org

---

# bakaat

  [  ](https://wordpress.org/support/users/bakaat/)

 *   [Profile](https://wordpress.org/support/users/bakaat/)
 *   [Topics Started](https://wordpress.org/support/users/bakaat/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bakaat/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bakaat/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bakaat/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bakaat/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bakaat/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Stout Google Calendar] Can I change the colors of events?](https://wordpress.org/support/topic/can-i-change-the-colors-of-events/)
 *  [bakaat](https://wordpress.org/support/users/bakaat/)
 * (@bakaat)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/can-i-change-the-colors-of-events/#post-2148850)
 * I’ve only done this once so even tough the principal is always the same (you 
   load additional css file to override styles of what is displayed inside), i wouldn’t
   like to act as an expert. As for your question
 * Although i’ve done it quite some time ago, my advice should work without problem(
   will actually test it today evening to make 100% sure)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Stout Google Calendar] Can I change the colors of events?](https://wordpress.org/support/topic/can-i-change-the-colors-of-events/)
 *  [bakaat](https://wordpress.org/support/users/bakaat/)
 * (@bakaat)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/can-i-change-the-colors-of-events/#post-2148841)
 * I’ve just checked on my old client’s website. They’re not using it anymore however
   I enabled it for few minutes and checked. It works there (most recent wordpress
   and stout gc)
 * check in firebug if your custom stylesheet is being loaded.
 * If it’s not check the frame if the additional link tag is there, check that php
   code mod is right.
 * If it is, css directives may need to be !important or more precise, actually,
   you can check if they’re taking effect in firebug as well
 * hope it helps
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Stout Google Calendar] Can I change the colors of events?](https://wordpress.org/support/topic/can-i-change-the-colors-of-events/)
 *  [bakaat](https://wordpress.org/support/users/bakaat/)
 * (@bakaat)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/can-i-change-the-colors-of-events/#post-2148783)
 * I came across this post when I was searching for a way to customize google call
   on one of the websites. Finally came out with my own solution. So if that’s what
   you are looking for ncase – try it out.
 * All you need to do is go to plugins/stout-google-calendar/gcalendar-wrapper.php
 * In line 256 change
 *     ```
       $headEndTag = '</head>';
       $calCustomized = preg_replace("/".preg_quote($headEndTag,'/')."/i", $calCustomStyle.$headEndTag, $calCustomized);
       ```
   
 * to
 *     ```
       $headEndTag = '</head>';
       $addCustomStylesheet = '<link rel="stylesheet" type="text/css" href="http://www.yourdomain.com/wp-content/themes/blah/cal_style.css" />';
       $calCustomized = preg_replace("/".preg_quote($headEndTag,'/')."/i", $calCustomStyle.$addCustomStylesheet.$headEndTag, $calCustomized);
       ```
   
 * where [http://www.yourdomain.com/wp-content/themes/blah/cal_style.css](http://www.yourdomain.com/wp-content/themes/blah/cal_style.css)
   is path to css file responsible for css for cal

Viewing 3 replies - 1 through 3 (of 3 total)