Support » Plugin: Contextual Related Posts » How to center the resulting related posts

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author WebberZone

    (@webberzone)

    Try this CSS in the custom styles box

    .crp_related {
    margin-left: auto;
    margin-right: auto;
    display: table;
    }

    Perfect! That worked like a charm. Thanks.

    Plugin Author WebberZone

    (@webberzone)

    Thank you for confirming

    Thanks!!!
    How do h3 to the left, and the blocks in the center?

    Plugin Author Ajay

    (@ajay)

    Doesn’t this work?

    .crp_related h3 {
     align: left;

    Or alternatively, you’ll need to try this instead of the above code:

    .crp_related ul {
    margin-left: auto;
    margin-right: auto;
    display: table;
    }
    Plugin Author Ajay

    (@ajay)

    I’ve never had an option that did the h3 left aligned and everything else middle

    What code are you using now and you’re site url?

    Plugin Author Ajay

    (@ajay)

    I visited your site and it all looks fine

    pokemongohome.ru/geympley/smysl-igry-pokemon-go-vyzvavshej-kolossalnyj-interes-vo-vsem-mire

    Am confused as to what you’d like to change?

    Hi There
    Thanks for an excellent plugin!
    The above css doesn’t work for me 🙁 (using Avada theme).
    Is there any other css option to try?

    I have tried:
    .crp_related ul {
    margin-left: auto;
    margin-right: auto;
    display: table;
    }

    AND ALSO:
    .crp_related {
    margin-left: auto;
    margin-right: auto;
    display: table;
    }

    Cheers
    Tal

    Plugin Author Ajay

    (@ajay)

    Frankly, I’m struggling as well to get it centered on your site. It’s usually been hit and miss and in your case that seems to be the miss.

    Oh…
    Sorry to hear that
    Thanks for trying.
    Is there anything that I can do to help solving it?
    Maybe contact Avada theme support?
    Tal

    Plugin Author Ajay

    (@ajay)

    Potentially that might help. They know their theme and CSS better than me for sure. Centering within divs is usually the most difficult piece of CSS that I’ve struggled with, particularly due to the floats in there

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to center the resulting related posts’ is closed to new replies.