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

182
Vistas
Issue in applying css on lightning:tab in Aura

I want to apply custom CSS on lightning:tab of lightning:tabset I tried using inline CSS, external CSS but there is no luck, I want a way to check below:

(Used to create tab section which is highlighted)

.THIS li:nth-child(2) {
    background-color: dodgerblue !important;
    color: white !important;
    height:1.5rem;
    cursor: no-drop !important;
    pointer-events: none;
    
}
.THIS li:nth-child(7) {
    background-color: dodgerblue !important;
    color: white !important;
    height:1.5rem;
    cursor: no-drop !important;
    pointer-events: none;
}

.THIS li:nth-child(12) {
    background-color: dodgerblue !important;
    color: white !important;
    height:1.5rem;
    cursor: no-drop !important;
    pointer-events: none;
}
.THIS li:nth-child(15) {
    background-color: dodgerblue !important;
    color: white !important;
    height:1.5rem;
    cursor: no-drop !important;
    pointer-events: none;
}

This worked, anyhow I need some other solution as I am getting tabs dynamically there can be "n" number of tabs. and updating the CSS on every tab insertion/deletion is Misery!

Please let me know if anyone has any solution

Many thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If you have to use !important in your CSS, maybe your .css files are included in the wrong order. check the element/style section in your browser's developer tools and find the files that are overriding the style of your tables.

about 4 years ago · Juan Pablo Isaza 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