WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Related Posts
[resolved] Where to add padding-top to create more space (6 posts)

  1. Sophiamolino
    Member
    Posted 8 months ago #

    I'm trying to add a "padding-top" to the custom CSS to create more space between my content and the widget. Where do I have to put it? It doesn't work at the ul.related-posts..

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

  2. PetraP
    Member
    Plugin Author

    Posted 8 months ago #

    Hey Sophia,

    thanks for reaching out - I'll gladly help! But in order to do so, I am going to need a link to your blog, so that I can have a closer look.

    Looking forward to your reply,
    Petra

  3. Sophiamolino
    Member
    Posted 8 months ago #

    Hi Petra,

    Thanks so much for helping me out.

    A link to a post: http://blogandthecity.net/wide-pants

  4. PetraP
    Member
    Plugin Author

    Posted 8 months ago #

    Hey,

    thanks for getting back to me and for the link! I think this should help:
    in the "Custom CSS" box add

    .wp_rp_content {
        display: inline-block !important;
        margin-top: 90px !important;
    }

    Everything put together should look like this:

    .wp_rp_content {
        display: inline-block !important;
        margin-top: 90px !important;
    }
    
    .related_post_title {
    }
    ul.related_post {
    }
    ul.related_post li {
    }
    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

  5. Sophiamolino
    Member
    Posted 8 months ago #

    It worked out!! Thanks for the help!!

  6. PetraP
    Member
    Plugin Author

    Posted 8 months ago #

    Glad to hear it worked! :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.