Title: css patch for chrome, php patch for category page
Last modified: August 20, 2016

---

# css patch for chrome, php patch for category page

 *  [bjdodo](https://wordpress.org/support/users/bjdodo/)
 * (@bjdodo)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/css-patch-for-chrome-php-patch-for-category-page/)
 * Would have sent you an email but did not find an address. Tried your forum but
   why would I want a password for a forum that is 8 characters long and has capital
   letters?
 * Anyway thank you for the control as it works great in general. 2 things:
 * 1. in the default css I recommend that you change the width specification:
 * .normal-day-heading {
    text-align:center; **width:14.3%;** height:25px; font-
   size:0.8em; border:1px solid #DFE6DE; background-color:#EBF2EA; } .weekend-heading{
   text-align:center; **width:14.3%;** height:25px; font-size:0.8em; border:1px 
   solid #DFE6DE; background-color:#EBF2EA; color:#FF0000; }
 * Otherwise it does not render correctly in google chrome.
 * 2. Tried to display your calendar from a category page by calling <?php echo 
   calendar() ?> and the next & previous links did not work. This is my fix:
 * function permalink_prefix()
    { // Get the permalink structure from WordPress 
   if (is_home()) { $p_link = get_bloginfo(‘url’); if ($p_link[strlen($p_link)-1]!
   = ‘/’) { $p_link = $p_link.’/’; } } ** elseif (is_category()) { $p_link = get_category_link(
   get_query_var(‘cat’) ); }  else { $p_link = get_permalink(); }
 *  // Based on the structure, append the appropriate ending
    if (!(strstr($p_link,’?’))){
   $link_part = $p_link.’?’; } else { $link_part = $p_link.’&’; }
 *  return $link_part;
    }
 * Any questions, you can contact me here:
    bjdodo at hotmail dot com
 * Thank you again for the control and all the best,
    Jozsef

The topic ‘css patch for chrome, php patch for category page’ is closed to new replies.

 * ![](https://ps.w.org/calendar/assets/icon-128x128.png?rev=1251541)
 * [Calendar](https://wordpress.org/plugins/calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calendar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bjdodo](https://wordpress.org/support/users/bjdodo/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/css-patch-for-chrome-php-patch-for-category-page/)
 * Status: not resolved