Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

190
Views
How do you add a heading to the chart generated by github-calendar?

I am using github-calendar to show my Github contributions on my website. I would like to add a title to the chart like it is shown in this comment. In my case, I just want bold text saying 'Contributions in the past 365 days.'

Screenshot of what I want

I have tried adding text inside the div, but it appears to be overwritten because I don't see it in the DOM.

<!-- Prepare a container for your calendar. -->
<div class="calendar">
<p>Contributions in the past 365 Days</p>
</div>
<script>

  GitHubCalendar(
    ".calendar",
    "jsolly", {
    global_stats: false,
    responsive: true,

  });
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You might need to fork Bloggify/github-calendar and modify lib/index.js yourself.

For instance, using a insertBefore method to insert an <h2></h2> title before the svg.js-calendar-graph-svg section.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!