Support » Plugin: Reaction Buttons » Reaction Buttons – Change CSS of tagline?

  • Resolved jillsays


    Love this plugin- it’s exactly what I’ve been looking for!

    Quick question – how do I change the CSS of the tagline (Text above the reaction buttons?) I want to change the color and the font size and can’t figure out where to do it.


Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Jakob Lenfers


    The class is reaction_buttons_tagline. Put something like the follwing in your styles css:

    color: #ff0000;

    Thank you @jakob42!

    I do have one more question. Does the plugin have the capability to take the reaction with the most clicks, and display that info on another page?

    For example, I am currently displaying the reactions on my SINGLE blog post page. I would like the reaction with the most clicks to appear on the blog index page.

    Basically, if the most popular reaction to a post is LOL, I’m trying to get only the LOL reaction to appear on the main page next to the link to the single blog post.

    Is that even possible?

    Plugin Author Jakob Lenfers


    At the moment it isn’t. I’ll put it on my todo list, but don’t hold your breath, I don’t have time for new features atm. 🙂


    I’m sorry to bother you with this, but I’ve been trying to fix this issue for 2 days straight and I don’t know who else to ask.

    I had the Reaction Buttons working perfectly on my site, but I just switched servers and now it no longer showing the clicks instantly. When someone clicks a reaction button, the result doesn’t show up until the page is refreshed.

    I restored built-in defaults, removed unused data, and even tried reinstalling, but it still won’t show clicks instantly.

    Heres an example page.

    How can I fix this? I love your plug-in and want to keep supporting it, but I can’t use it like this!

    Plugin Author Jakob Lenfers


    I tried to check it out and as far as I can tell, the javascript sends the request to increment the counter (which works), but it sends no reply. Can you find any errors in your webservers log? Some php errors for example?

    Just out of curiosity, is it working if you disable the use of cookies?

    I did disable cookies! And I even tried uninstalling and reinstalling the whole plugin.

    I will try to find an error log on my VPS but I don’t even know where to look.

    Plugin Author Jakob Lenfers


    Well, Debian based systems usually have their apache logs in /var/log/apache/. The php stuffs winds up in an error.log

    I see this in my error logs:

    [Thu Sep 23 11:46:39 2010] [error] [client] PHP Fatal error: Call to undefined function json_encode() in /var/www/vhosts/ on line 412, referer:

    And also this:

    [Tue Sep 21 14:52:10 2010] [error] [client] PHP Fatal error: Call to undefined function json_decode() in /var/www/vhosts/ on line 67

    Plugin Author Jakob Lenfers


    You are missing json in your php installation. That might be due to the fact, that the php version is too old (<5.2.0) or that it was disabled during compile time (unsure why someone would do that).

    Your version and if json was enabled on your installation should be visible in phpinfo(): Create a file on the webserver with the following content and open it in a browser:


    This is the result – I have on idea what any of that means:

    Plugin Author Jakob Lenfers


    I’m really sorry, but your php version is just too old. 5.1.6 is over four years old… Maybe your hoster might consider updating. I know a ton of software that relies on at least 5.2…

    you were exactly right – I had my host update the PHP version and now it works perfectly.

    I don’t use widgets in our blog, so what would the PHP code be to directly place the “MOST CLICKED POSTS” somewhere in our sidebar?

    I look forward to implementing this across all of our blogs. Great work and thanks again.

    Is there a way to display the most clicked posts without using a widget?

    Anyone know?

    Plugin Author Jakob Lenfers


    Sorry, I’ve been on vacation 😀

    The funcion should be reaction_buttons_clicked_widget(). But you aren’t able to set up the number of posts to be shown and I bet the default is too high… You can try to add a widget if its possible and set the value the way you like and delete it again. But if that doesn’t work… well, then write and we’ll see. 🙂

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Reaction Buttons – Change CSS of tagline?’ is closed to new replies.