• Resolved jaywatson

    (@jaywatson)


    How do I align the post title to the left? Some titles are aligned left but some are spread out gaps in the center. Very inconsistent.

    Great plug in. Thanks for any help,
    Jay

    My custom CSS in the Related Posts customizer:
    ——
    .related_post_title {
    text-align:left;
    }
    ul.related_post {
    }
    ul.related_post li {
    }
    ul.related_post li a {
    }
    ul.related_post li img {
    }
    ——–

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

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

    thanks for reaching out – I’ll gladly help!
    Your CSS code actually puts the title of all related posts (“Related Posts”) to the left. This code should do the trick:

    .related_post_title {
    }
    ul.related_post {
    }
    ul.related_post li {
    text-align:left;
    }
    ul.related_post li a {
    }
    ul.related_post li img {
    }

    Please let me know how it goes!

    Take care and have a nice day,

    Petra

    Thread Starter jaywatson

    (@jaywatson)

    Hi Petra
    That worked perfectly! Thanks so much for the fast reply.

    Wow. Great plug in and great support!
    Jay

    PetraP

    (@petrap)

    Hey Jay,

    I am happy to hear that it worked and thanks for the compliments – truly appreciated! 🙂

    Best,

    Petra

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

The topic ‘align text not working in custom CSS’ is closed to new replies.