Hi Josh,
Thank you so much for your kind words and for using DaReactions! 😊
The issue you’re experiencing happens when the count badge overlaps the reaction icon, making most of the icon unclickable. This overlap is particularly noticeable when reducing the reaction button size, as the badge doesn’t scale proportionally.
To fix this, you can adjust the size and positioning of the count badge using custom CSS. I’ve detailed the steps in this support article:
How Can I Resize the Count Badge?
In short, you can resize the badge by modifying its font size and adjusting its position to ensure it no longer blocks the reaction icon. For example, you might add this CSS to your site:
div.da-reactions-container div.reactions div.reaction .count {
font-size: 0.3em;
position: relative;
top: -5px; /* Adjust as needed */
background: transparent; /* Optional, for better appearance */
}
This can be added via Appearance » Customize » Additional CSS in your WordPress admin. Once applied, you should be able to click anywhere within the reaction icon to cast your vote.
Please let me know if this resolves the issue or if there’s anything else I can assist with!
Warm regards,
Daniele Alessandra
Thank you so much Daniele! 😀 The CSS fix you posted indeed fixed reactions. I modified it a little for better styling and counter readability which looks great:
div.da-reactions-container div.reactions div.reaction .count {
font-size: 0.8em;
position: relative;
top: -47px;
background: transparent;
left: -13px;
}
Lots of great documentation too. Just looked through most articles that are quite informative. I absolutely love that images are supported too along with a portable shortcode. At first I used the following shortcode which created two separate reactions on an attachment page that where independent of each other:
[reactions id="3" type="image"]
I suggest adding in the docs the following:
https://da-plugins.helpscoutdocs.com/article/39-add-reactions-to-content-body-using-shortcodes
Add to an attachment:
[reactions id=”3″ type=”attachment”]
This wasn’t immediately obvious but was an easy fix for me. The portable reactions will be very helpful for adding to things like a lightbox. Wishing you a wonderful day.
Warm regards,
Josh