I Recommend This
[resolved] Change justification (5 posts)

  1. vohnmcg
    Posted 1 year ago #

    Hello, I love my like button but instead of it being left-justified on my page, I would like to change it to centre justified, so it appears in the centre of the screen directly below my blog post. Is it possible to do this? Thanks, Vohn


  2. Harish Chouhan
    Plugin Author

    Posted 1 year ago #

    @Vohn. Thanks for using it. Using basic CSS you can restyle how and where the like button appears. Let me know your blog URL and I will share with you a quick code which you can paste in your theme's CSS file.

  3. vohnmcg
    Posted 1 year ago #

    Thanks Harish. I thought it would probably be simple to do - I just didn't know how as I know very little html and no CSS!
    My blog is at http://VohnsVittles.com

  4. Harish Chouhan
    Plugin Author

    Posted 1 year ago #


    This would require more than editing CSS.

    In your theme files that displays the single post, which could be single.php or content-standard.php

    You have to find the content() tag and below it place this code:

    <div style="display: block; text-align:center;">
    <?php if( function_exists('dot_irecommendthis') ) dot_irecommendthis(); ?></div>
  5. vohnmcg
    Posted 1 year ago #

    That's fab - thanks so much for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • I Recommend This
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic