An article in joomla with pdf icon
https://www.feagri.unicamp.br/portal/a-feagri/destaques-feagri/premio-egresso-destaque-unicamp-2023
The icon address:
https://www.feagri.unicamp.br/portal/a-feagri/destaques-feagri/media/jce/icons/pdf.png
Should be:
https://www.feagri.unicamp.br/portal/media/jce/icons/pdf.png
How can I solve this?
I used the CSS solution below, but it will duplicate all the others that already existed
a[href$=".pdf"]::before {
content: "";
display: inline-block;
background: url('/portal/media/jce/icons/pdf.png') no-repeat center;
padding: 8px 12px 8px;
vertical-align: middle;
}
https://www.feagri.unicamp.br/portal/a-feagri/destaques-feagri/premio-egresso-destaque-unicamp-2023
The icon address:
https://www.feagri.unicamp.br/portal/a-feagri/destaques-feagri/media/jce/icons/pdf.png
Should be:
https://www.feagri.unicamp.br/portal/media/jce/icons/pdf.png
How can I solve this?
I used the CSS solution below, but it will duplicate all the others that already existed
a[href$=".pdf"]::before {
content: "";
display: inline-block;
background: url('/portal/media/jce/icons/pdf.png') no-repeat center;
padding: 8px 12px 8px;
vertical-align: middle;
}