Background in Calendar Widget Post date Home › Forums › Calendar Products › Events Calendar PRO › Background in Calendar Widget This topic has 3 replies, 3 voices, and was last updated 10 years, 10 months ago by Support Droid. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 9, 2012 at 10:48 am #17738 PiotrParticipant I would like to show (harder) days when there are any events for example give – another background. Please, tell me where I can change it. I think that when you see photo you understand my problem. Now: http://img849.imageshack.us/img849/1679/23954582.png I would like: http://img802.imageshack.us/img802/8629/24897543.png April 9, 2012 at 2:44 pm #17747 JonahParticipant Hi Piotr, You’ll want to modify /wp-content/plugins/the-events-calendar/views/table-mini.php. 1. First make a copy of it and place in an ‘events’ folder in your theme. 2. Find line 87 and replace: $return = ""; with: if (count($monthView[$day]) > 0) { $return = ""; } else { $return = ""; } … that will add a class of ‘has-events’ to the days that have events. 3. In your CSS simply target the .has-events class and style it however you want. I hope that helps! April 9, 2012 at 2:46 pm #17748 JonahParticipant Sorry about that, on line 87 the code you’re replacing is: http://pastie.org/private/fi8nv2f0gbspqgzep2kexq And the code to replace with is: http://pastie.org/private/5udzgryiujkkbmgldn4zdw July 6, 2015 at 5:00 pm #976483 Support DroidKeymaster This topic has not been active for quite some time and will now be closed. If you still need assistance please simply open a new topic (linking to this one if necessary) and one of the team will be only too happy to help. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The topic ‘Background in Calendar Widget’ is closed to new replies. → Please verify your API key is correctly entered on the settings