Support » Plugin: YOP Poll » Center Polls in post

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hi Michele,

    Please provide a link to the page you are referring to so we may assist.

    Regards,

    YOP Team

    `the site is not online yet but it is in manteinance mode. Anyway I did a screenshot of what I want. The box with the poll, instead of aligning it to the left as I get using any template, I would like it centered with respect to the post. Is it possible?

    Here are the link of screenshot:

    http://www.tecnoguide.it/images/Cattura.JPG

    Plugin Author YOP

    (@yourownprogrammer)

    Hey Michele,

    Please go to “Templates” and edit the one you use for your poll.
    In the CSS section, just under the first line add margin:auto;
    so you’ll have

    #yop-poll-container-%POLL-ID% {
    margin:auto;

    and save.

    Best wishes,

    YOP Team

    I tried to do as you told me, but I did not worked. Then I saw that the syntax of other controls 2 involves the colon (:), so I tried to confirm the syntax and I worked by putting the first few lines like this:

    #yop-poll-container-%POLL-ID% {
    width:%POLL-WIDTH%;
    margin: 0 auto;

    Thanks anyway for putting me on the right track, now is exactly how I wanted it.

    Michele

    Hi,
    I tried to do as you told me, but I did not worked. Then I saw that the syntax of other controls 2 involves the colon (:), so I tried to confirm the syntax and I worked by putting the first few lines like this:

    #yop-poll-container-%POLL-ID% {
    width:%POLL-WIDTH%;
    margin: 0 auto;

    Thanks anyway for putting me on the right track, now is exactly how I wanted it.

    Regards,
    Michele

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Center Polls in post’ is closed to new replies.