Support » Plugin: Contextual Related Posts » Centered Version with background

  • Hi!
    I need help with the CSS of this plugin.

    I want this to be centered (text and pictures) & have a full background should be 1200px in white.

    I added this code:

    div.crp_related{
    background-color: #ffffff;
    display: table;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    }

    It works except there is a space right and left from the pictures, where the background doesn’t appear

    Where is my mistake?
    Thank you in advance!
    best regards

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

    (@ajay)

    what’s the site url where this appears?

    https://traderex.de/home/wissen/kryptowaehrungen/
    password:visitor123
    thanks 🙂

    any news? 🙂

    Plugin Author Ajay

    (@ajay)

    The easiest option of this is to use the manual install (in FAQ) and put this in a separate “div” that is set to a white background and width of 100%.

    Another option is to set the width of .crp_related to 100% and then apply a margin of a custom width to the ul:first-child to get the width to work better.

    I’m trying to implement a better grid system that can be used as the centering is always an issue with the ul, li style with floats.

    • This reply was modified 2 years, 3 months ago by  Ajay.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Centered Version with background’ is closed to new replies.