WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Related Posts
[resolved] How to Center? (8 posts)

  1. timned88
    Member
    Posted 5 months ago #

    Is there a way to center the output on the page? I couldn't figure it out with the CSS. Please help!

    http://www.themagicinpixels.com

    https://wordpress.org/plugins/wordpress-23-related-posts-plugin/

  2. timned88
    Member
    Posted 5 months ago #

    BUMP

  3. timned88
    Member
    Posted 5 months ago #

    ANYONE? BUELLER? ANYONE?

  4. silvoslaf
    Member
    Plugin Author

    Posted 5 months ago #

    Hey, sorry for not responding any sooner, wasn't intentional! We'd love to help you out!

    Try to paste the following code in your plugin settings and see if this works for you:

    .related_post_title {
    }
    ul.related_post {
    }
    ul.related_post li {
    width:110px !important;
    }
    ul.related_post li a {
    }
    ul.related_post li img {
    width:110px !important;
    height:110px !important;
    }

    Don't forget to click on the 'Save' button before checking your results! And do let us know what you think!

    Take care & have a nice day!

    Best,
    Silvo

  5. timned88
    Member
    Posted 5 months ago #

    Hi Silvo,
    that code did not work. i am looking to center the whole array on the middle of the page. kind of like a <center> tag would do.

  6. timned88
    Member
    Posted 5 months ago #

    FIXED IT!!
    Here is the solution...

    .related_post_title {
    }
    ul.related_post {
    display: block !important;
    margin-left:auto; !important;
    margin-right:auto; !important; text-align:center;
    padding: 0 !important;
    position: relative !important
    }
    ul.related_post li {
    }
    ul.related_post li a {
    }
    ul.related_post li img {
    }
    .wp_rp_content {
    width:100%;
    }
  7. silvoslaf
    Member
    Plugin Author

    Posted 5 months ago #

    Hey, that's great news, really glad you found your way around the problem, to be honest!

    As always — if you have any questions or if you stumble upon any problems in the future, do not hesitate to let me know! I'll gladly help!

    Take care & have a nice day!

    Best,
    Silvo

  8. mekasiat
    Member
    Posted 2 months ago #

    Hi,
    Thank you for the tip, it worked so well :)
    Best,

Reply

You must log in to post.

About this Plugin

About this Topic

Tags