Removing the hardcoded dash of list items
-
I am migrating from RSS Import to RSS Feed Pro, since the old plugin gave “Error: Feed has a error or is not valid”. After deleting the old plugin and installing the new one, I had to create a widget again and manually copy the field values from the old one. The RSS content shows up again but every list item has an addititional dash now. The old plugin did not show the dashes and I prefer not to show them.
The stylesheet file “rss-feed-pro.css” seems to have the following part, which causes the dash:
.rssfp-items-wrapper ul>li>a:before { content: ' \2576'; margin-right: 10px; }
To me, it seems like pretty much the same result could be achieved by editing the “Before Item (HTML)” field in the widget settings (I have the field empty, btw). What is more, that would be customizable for the user instead of being hardcoded in the CSS files of the plugin itself.
Is it possible to have the hardcoded dashes removed and let the user use HTML field? Looks like the CSS file has some.
I am thinking of a workaround for this but my WordPress knowledge is not good enough. I guess the “Before Item (HTML)” could be edited so that the dash is not inserted. I do not want to get rid of the ‘li’ element, though, since it would be semantically broken. Perhaps the theme could be modified to override the CSS as well but that sounds a bit overkill. Maybe there is a better way that I do not know of?
Yes, this is quite a minor issue but I would like to keep the appearance the same as before.
- The topic ‘Removing the hardcoded dash of list items’ is closed to new replies.