WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] Align and center vote buttons (8 posts)

  1. scarto2011
    Member
    Posted 1 year ago #

    Hi,

    I have added vote button next to each answer, so right now poll look like this http://screencast.com/t/auEzh89LOy How I can align buttons to the right and center each one of them vertically inside answer container, so they look like this http://screencast.com/t/5h4CDbQnHWa1

    Thank you,
    Dmitry

    http://wordpress.org/extend/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dmitry,

    Please send us a link to the page that includes your poll so we may give you precise instructions.

    Regards,

    YOP Team

  3. scarto2011
    Member
    Posted 1 year ago #

    You can find it here http://www.azoogle.ru/prod/jino-ru/

    Thank you,
    Dmitry

  4. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dmitry,

    Edit the template you used for your poll and in the CSS section add

    #yop_poll_vote-button-%POLL-ID% {
    float: right;
    margin-top: -11px;
    }

    #yop_poll_vote-button-%POLL-ID%:first-child {
    float: left;
    }

    Also, replace

    #yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {
    float: right;
    margin-bottom: 20px;
    margin-top: -20px;
    width: auto;
    }

    with

    #yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {
    float: right;
    margin-bottom: 20px;
    margin-top: 0px;
    width: auto;
    }

    and save.

    Best wishes,

    YOP Team

  5. scarto2011
    Member
    Posted 1 year ago #

    Great, it worked, thank you, I wish all WordPress plugin developers had the same level of support.

  6. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Dmitry,

    Glad it worked!
    If you like our plugin and find it useful, we could use a review.

    Best Regards,
    YOP Team

  7. scarto2011
    Member
    Posted 1 year ago #

    Just gave it a 5 star rating and wrote review :)

  8. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you, Dmitry, much appreciated.

    Regards,

    YOP Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic