Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Remove a word with CSS Reply To: Remove a word with CSS

#264616
Beverleyh
Participant

I can’t say for sure from the half-broken code sample you posted, but you might be able to target the anchor tag that surrounds “Destacado” with an nth-of-type or nth-child selector, and visually hide it with CSS. Note that it would likely fail if the tag order changed though. And you’ll probably be unable to target the trailing comma, unless it too was enclosed in its own span or something (doubtful – it’s probably plain text). JavaScript would be more robust; maybe manipulate the textContent or innerHTML