lesterchan / wp-polls

Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.
https://wordpress.org/plugins/wp-polls/
91 stars 78 forks source link

Button Class CSS #110

Closed alfredderose closed 6 years ago

alfredderose commented 6 years ago

Maybe I'm mistaken, but it seems that button colors are not being picked up from either polls-css.css or from the theme. It looks like the class is perhaps not correct. Should this class not just be .button?

wp-polls.css

.wp-polls .Buttons { border:1px solid #428bca; background-color: #428bca;

wp-polls.php

'<p style="text-align: center;"><input type="button" name="vote" value="   '.__('Vote', 'wp-polls').'   " class="Buttons" onclick="poll_vote(%POLL_ID%);" /></p>'.
lesterchan commented 6 years ago

The class name is Buttons is correct. Your theme style is properly overwriting it.