To customize some pages/plugins of a Wordpress page I have to use CSS because the dashboard doesn't allow these changes.
I'm having problems with a specific case. I want to change the text of an item in a list. In this case I want to change the text "Certificates" by "Certificados". The HTML code is this:
<ul>
...
<li class="certificates">
<a href="https://url/to/user_1/certificates" data-slug:"https://url/to/user_1/certificates">
<i class="fas fa-certificate">
::before
</i>
Certificates
::after
</a>
</li>
...
</ul>
In other cases I used something like this to change texts in CSS with success:
.class-to-change {
visibility: hidden;
}
.class-to-change:after {
visibility: visible;
content: "new text";
}
But my list item seems very complex to apply this solution. Could I change the text using CSS in that case?