WordPress.org

Ready to get started?Download WordPress

Forums

Related Posts
Custom CSS (2 posts)

  1. bethiybi
    Member
    Posted 1 year ago #

    Hi there,

    I installed related posts on my site, and selected 'Vertical/Large' theme, and tried to add my own custom CSS an example is here: http://ifyoubuildit.com.au/2013/07/king-street-gallery-website/

    The custom CSS is below:
    ul.related_post li img {
    border-radius:0px;
    box-shadow:none;
    }

    As you can see I'm trying to remove the radius and shadow, but nothing is working. How do you recommend customising this plugin?

    Thanks,
    Beth

    http://wordpress.org/extend/plugins/related-posts/

  2. silvoslaf
    Member
    Plugin Author

    Posted 1 year ago #

    Hey!

    I think your code is all OK, but you have to add the important! at the end of every line. Like this:

    ul.related_post li img {
    border-radius:0px important!;
    box-shadow:none important!;
    }

    Try adding that code, click on the Save button and let me know if it worked or not.

    Take care & I'm looking forward to your reply!

    Best,
    Silvo

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic