Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

199
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda