Support » Plugin: Pretty Pinterest Pins » Center Images

Viewing 7 replies - 1 through 7 (of 7 total)
  • WPyogi

    (@wpyogi)

    Forum Moderator

    A link to your site would be necessary for help with CSS issues.

    MaryElla

    (@maryella)

    MaryElla

    (@maryella)

    MaryElla

    (@maryella)

    Hello there.

    Is there anybody how can help me to fix the image in the middle please.

    Thanks,
    M

    Plugin Author jowilki

    (@jowilki)

    Give this code a shot

    – Open your theme’s stylesheet (yours looks like its called layout.css) under Appearance > Editor.
    – Scroll to the very bottom and add these lines:

    #sidebar ul#pretty-pinterest-pins-widget li.pretty-pinterest-pin div.pretty-pinterest-image{
    margin: auto;
    }

    #sidebar ul#pretty-pinterest-pins-widget li.pretty-pinterest-pin, #sidebar ul#pretty-pinterest-pins-widget li.pretty-pinterest-follow-me{
    text-align: center;
    }

    – The second block centers the “follow me button”, so don’t have to add that part if you only want the pin image centered

    MaryElla

    (@maryella)

    Hi Jowilki,

    thank you very much for your respond.

    Unfortunately it doesn’t work.

    Is there anything else I can do?

    Thanks. I appreciate your help.
    Mary

    I went into my Plugin editor and changed the margin to margin-left: 35px; and it looks centered now. You may have to tweak your numbers.

    ul#pretty-pinterest-pins-widget li.pretty-pinterest-pin div.pretty-pinterest-image{
    background-color: #FFFFFF;
    box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
    font-size: 11px;
    text-align: center;
    margin-left: 35px;
    max-width: 100%;
    width: 150px;

    http://chris-melinda.com/blog

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Center Images’ is closed to new replies.