0

I'm trying to change a strong content that is in a class.

If I try this code, it inserts the text after original text correctly:

.categoria-paginas a strong:after
{
    content: 'Schmitz';
}

But when I try to change all the content, it doesn't work:

.categoria-paginas a strong
{
    content: 'Schmitz';
}
Julyano Felipe
  • 288
  • 2
  • 22

1 Answers1

0

If I set visibility to hidden and the new text to visible, it work:

.categoria-paginas a strong
{
    visibility: hidden;
}

.categoria-paginas a strong:after
{
    content: 'Schmitz';
    visibility: visible;
}
Julyano Felipe
  • 288
  • 2
  • 22