• Hello All,

    I’m a new for wordpress and i’v just try this plugin.
    Thank you Ajay for the Great plugin.
    I’ve edited some CSS code from the default style
    and may be somebody like this

    #crp_related ul {
      list-style: none;
      float: left;
      margin: 0;
    }
    #crp_related li, #crp_related a {
      float: left;
      overflow: hidden;
      position: relative;
      text-align: center;
    }
    #crp_related li {
      margin: 5px !important;
      border: 1px solid #ddd;
      padding: 6px;
    }
    #crp_related li:hover {
      background: #eee;
      border-color: #bbb;
    }
    #crp_related a {
      width: 100px;
      height: 100px;
      text-decoration: none;
    }
    #crp_related a:hover {
      text-decoration: none;
    }
    #crp_related img {
      max-width: 100px;
      max-height: 100px;
      margin: auto;
    }
    #crp_related .crp_title {
      position: absolute;
      height: inherit;
      bottom: 6px;
      left: 6px;
      padding: 3px;
      width: 94px;  /* = 150px - (3px * 2) */
      color: #fff;
      font-size: .8em;
      text-shadow: #000 .1em .1em .2em;
      background: rgb(0.5, 0.5, 0.5);
      background: rgba(0, 0, 0, 0.5);
    }
    #crp_related li:hover .crp_title {
      background: rgb(0.2, 0.2, 0.2);
      background: rgba(0, 0, 0, 0.8);
    }
    .crp_related .crp_thumb, .crp_related li, .crp_related .crp_title {
      vertical-align: bottom;
      -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4);
      -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4);
      box-shadow: 0 1px 2px rgba(0,0,0,.4);
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
    }

    for sample see :
    http://www.smiledogs.com

    Thank you 🙂

    https://ww.wp.xz.cn/plugins/contextual-related-posts/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ajay

    (@ajay)

    Thank you for your kind words and the code.

    I’m sure this is an easy fix and i’ve just missed it. I want the plugin to only show up in the sidebar, not at the end of each post. What setting have i missed?

    Also i want to get rid of the bullets. i tried #crp_related ul {
    list-style: none;
    float: left;
    margin: 1px;
    }
    but i’ve had no luck.

    thanks
    http://qsstyle.npst.com/

    Thank you for that. How can i remove the related posts at the end of each article? I only want it in the sidebar. right now it is showing in both places

    Plugin Author Ajay

    (@ajay)

    Karen, could you please create a separate post for your requests in the future. Simply uncheck the options of “Add Related Posts to”

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

The topic ‘CSS’ is closed to new replies.