WordPress.org

Support

Support » Plugins and Hacks » WordPress Related Posts » [Resolved] How to Center?

[Resolved] How to Center?

Viewing 7 replies - 1 through 7 (of 7 total)
  • BUMP

    ANYONE? BUELLER? ANYONE?

    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

    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.

    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%;
    }

    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

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] How to Center?’ is closed to new replies.
Skip to toolbar