Thread Starter
mleecp
(@mleecp)
In my project I have my own CSS rules for unordered lists, and I want to apply a style that applies to every <ul> except for this plugin’s <ul id="rmp-stars">. Because I have to select it by ID, the specificity is overriding other <ul> in my site. It would be more conventional in my opinion to change it to <ul class="rmp-stars"> instead, unless you have good reason to keep it id?
For the record I customized the plugin so that there’s multiple instances of it in one page, so there’s actually multiple <ul id="rmp-stars">.
-
This reply was modified 6 years, 8 months ago by mleecp.
Hi Blaz, just wanted to say I really love this lightweight plugin that does 95% of what I want it to (with the remaining 5% being the displaying multiple ratings for different posts on a single page – which is helped immensely by your thoughtfulness in including a ‘get_avg_rating’ function in a php file for devs 🙂 ). Keep up the good work!