Title: css problems with wp-calendar 1.5.1
Last modified: August 20, 2016

---

# css problems with wp-calendar 1.5.1

 *  [dsg257](https://wordpress.org/support/users/dsg257/)
 * (@dsg257)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/css-problems-with-wp-calendar-151/)
 * using the following code for a category
 * .fc-event.category-5,
    .fc-event.category-5 * { background-color: white !important;
   border:1px solid red; !important; color: black ; } give me the border but also
   borders around things inside of the box i attached a pic of what it looks like
   on the site [ pic](http://www.ardery-halls.co.uk/?attachment_id=362)
 * Not got a clue tryed everything cant find where the settings are to remove this
   
   i know i can overide them by adding them to my css above and using !important
 * [http://wordpress.org/extend/plugins/wp-calendar/](http://wordpress.org/extend/plugins/wp-calendar/)

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

 *  Plugin Author [faebu](https://wordpress.org/support/users/faebu/)
 * (@faebu)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/css-problems-with-wp-calendar-151/#post-3326025)
 * The trick is not to set a border, but just adjusting the border color:
 *     ```
       .fc-event.category-5,
       .fc-event.category-5 div {
       	border-color: red !important;
       	background-color: white !important;
       	color: black;
       }
       ```
   
 * That works for me
 *  Thread Starter [dsg257](https://wordpress.org/support/users/dsg257/)
 * (@dsg257)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/css-problems-with-wp-calendar-151/#post-3326070)
 * Thanks that worked but had to put it into the styles.css file in my subtheme 
   would not work when i copied the fullcalendar.css file to sub theme
 *     ```
       .fc-event.category-5,
       .fc-event.category-5 div {
       	border-color: red !important;
                border-width: 2px  !important;
       	background-color: white !important;
       	color: black;
       }
       ```
   
 * Added the border width which works
    showing the code For the benifit of others**
   Hope it Help someone**
 *  Thread Starter [dsg257](https://wordpress.org/support/users/dsg257/)
 * (@dsg257)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/css-problems-with-wp-calendar-151/#post-3326071)
 * Thanks for all the help
    Hope you get some time to continue to developt this 
   plugin which is brilliant May i sugest that you use some of the code solutions
   from the support in your documents and give examples of the codes of easy use
   by new users who may not totally understand the use of the shortcodes an the 
   plugin potential
 * Thanks For all your hard work
    Will be making a donation asap

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

The topic ‘css problems with wp-calendar 1.5.1’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-calendar.svg)
 * [WP Calendar](https://wordpress.org/plugins/wp-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-calendar/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 2 participants
 * Last reply from: [dsg257](https://wordpress.org/support/users/dsg257/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/css-problems-with-wp-calendar-151/#post-3326071)
 * Status: not resolved