WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. vohnmcg
    Member
    Posted 3 months 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

    https://wordpress.org/plugins/i-recommend-this/

  2. Harish Chouhan
    Member
    Plugin Author

    Posted 3 months 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
    Member
    Posted 3 months 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
    Member
    Plugin Author

    Posted 3 months ago #

    Hi,

    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
    Member
    Posted 3 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags