• Resolved fashion-blogger

    (@fashionblogger1)


    Hello,

    I was able to center the related posts by copy and paste the following in customize CSS section:

    div.wp_rp_content {
    display: block !important;
    }
    ul.related_post {
    display: block !important;
    text-align: center;
    }

    However, the related posts title is aligned to the left of the entire page. How can I center the related posts title, or align it so that it lines up with the icon of the first related post?

    Thanks very much in advance.

    https://ww.wp.xz.cn/plugins/wordpress-23-related-posts-plugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    thanks for reaching out! I’ll gladly help, but first – would you be so kind and give me the link to your blog, so that I can take a closer look?

    Best,
    Petra

    Thread Starter fashion-blogger

    (@fashionblogger1)

    Hi Petra,

    The link is notjessfashion.com.

    Thank you!

    Hey,

    thanks for getting back to me! Try to add the following code to your custom CSS code:

    .wp_rp_wrap .related_post_title {
    text-align:center !important;
    }

    Everything put together should look something like this:

    .wp_rp_wrap .related_post_title {
    text-align:center !important;
    }
    ul.related_post {
    display: block !important;
    text-align: center;
    }
    ul.related_post li {
    }
    ul.related_post li a {
    }
    ul.related_post li img {
    }
    div.wp_rp_content {
    display: block !important;
    }

    Please let me know how it goes!

    Take care and have a nice day,
    Petra

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Related Posts Title Alignment’ is closed to new replies.