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

  1. informaticaeloy
    Posted 2 years 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.


  2. Lester Chan
    Plugin Author

    Posted 2 years 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
    Posted 2 years ago #

    Hello friend. Thank you for your quick response. I changed the settings of the
    Voting Form Header
    '<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

    <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>

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.