WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
[resolved] the check to the left of the option (3 posts)

  1. informaticaeloy
    Member
    Posted 7 months ago #

    Hello. I like the appearance of the check to the left of the option. How could I? I use a normal page with the text [poll id = "2"]
    Thank you.

    http://wordpress.org/plugins/wp-polls/

  2. Lester Chan
    Member
    Plugin Author

    Posted 7 months ago #

    You can customized the polls via the bundled CSS polls-css.css in the plugin folder and via WP-Admin -> Polls -> Polls Template.

  3. informaticaeloy
    Member
    Posted 7 months ago #

    Hello friend. Thank you for your quick response. I changed the settings of the
    Voting Form Header
    to
    '<p style="text-align: center;">%POLL_QUESTION%</p>
    <div id="polls-%POLL_ID%-ans" class="wp-polls-ans">
    <table border="0">'

    the Voting Form Body to
    '<tr><td align="right"><input type="%POLL_CHECKBOX_RADIO%" id="poll-answer-%POLL_ANSWER_ID%" name="poll_%POLL_ID%" value="%POLL_ANSWER_ID%" /> </td><td align="left"><label for="poll-answer-%POLL_ANSWER_ID%">%POLL_ANSWER%</label></td></tr>'

    and the Voting Form Footer to

    '</table>
    <p style="text-align: center;"><input type="button" name="vote" value=" Votar " class="Buttons" onclick="poll_vote(%POLL_ID%);" /></p>
    <p style="text-align: center;">Ver resultados</p>
    </div>'

    I used the table tag instead of the li tag, because if the answer is too long did not align with the option. Now every answer is aligned in a row with the choice.
    Thank you very much.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.