Title: style week number
Last modified: May 26, 2020

---

# style week number

 *  Resolved [Argentum](https://wordpress.org/support/users/argentum/)
 * (@argentum)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/style-week-number/)
 * Hi! I really like your plugin. Works like a charm. I just want to be able to 
   change the color of the week numbers that I have enabled, so there is a difference
   between events and week numbers. I look in the calendar code in the page with
   dev console and the week numbers have exactly the same html structure like a 
   regular event, so I can’t reach it with custom css.
 * <div class=”fc-content”>
    <span class=”fc-title”>
 * Hm, would it be possible to format the week number? It prints like “Week 24 of
   2020” and I would like to show just the number (it clutters the calendar as it
   is).
 * All the best
    Magnus
    -  This topic was modified 5 years, 11 months ago by [Argentum](https://wordpress.org/support/users/argentum/).

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

 *  Plugin Author [michielve](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/style-week-number/#post-12894706)
 * When I enable the weeknumbers with `weekNumbers: true`, I can see that the weeknumbers
   have a specific class `fc-week-number`. I don’t see “Week 24 of 2020” either.
 * Maybe you can share an example?
    -  This reply was modified 5 years, 11 months ago by [michielve](https://wordpress.org/support/users/michielve/).
 *  Thread Starter [Argentum](https://wordpress.org/support/users/argentum/)
 * (@argentum)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/style-week-number/#post-12895667)
 * Got it! Added it in the code like you suggested. Now it shows like a narrow frame
   to the left just as I wanted.
 * {
    “eventColor”: “#268eb8”, “eventTextColor”: “white”, “weekNumbers”: “true”,“
   header”: { “left”: “title”, “center”: “”, “right”: “today prev,next” } }
 * I did it wrong, enabling the week numbers in the Google Calendar setting and 
   then in your widget there was a checkbox with “week number [ ]” that I used. 
   That created events from the week numbers.
 * Thanks for the help!
    All the best Magnus

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

The topic ‘style week number’ is closed to new replies.

 * ![](https://ps.w.org/private-google-calendars/assets/icon-256x256.png?rev=2203549)
 * [Private Google Calendars](https://wordpress.org/plugins/private-google-calendars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/private-google-calendars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/private-google-calendars/)
 * [Active Topics](https://wordpress.org/support/plugin/private-google-calendars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/private-google-calendars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/private-google-calendars/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Argentum](https://wordpress.org/support/users/argentum/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/style-week-number/#post-12895667)
 * Status: resolved