Support » Plugin: YOP Poll » Line Break Causing Answers to Be on Seperate Lines

  • Resolved ENWest011


    I installed your plugin but am having a little trouble with how it displays. There is a line break before each answer, causing the answers to be on the next line (below the input toggle). You can see the problem here:

    The HTML I am seeing that is causing this issue is:

    <li class="yop-poll-li-answer-2" style="width: 592px; float: left;"><input id="yop-poll-answer-9" type="radio" name="yop_poll_answer" value="9"></input><br></br>

    It is that final line break that I want to get rid of.

    Any thoughts? Thank you so much for your help!


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


    Hey Erika,

    From the main menu go to “Templates” and edit the template you used for your poll.

    In the CSS section replace

    #yop-poll-answers-%POLL-ID% ul li input {


    #yop-poll-answers-%POLL-ID% ul li input {
    margin-left: 5px;

    Also, in “Template Before Vote” section replace

    <li class=”yop-poll-li-answer-%POLL-ID%”>
    <span class=”yop-poll-results-text-%POLL-ID%”>%POLL-ANSWER-RESULT-LABEL%</span>


    <li class=”yop-poll-li-answer-%POLL-ID%”>%POLL-ANSWER-CHECK-INPUT%%POLL-ANSWER-LABEL%<span class=”yop-poll-results-text-%POLL-ID%”>%POLL-ANSWER-RESULT-LABEL%</span>%POLL-ANSWER-RESULT-BAR%

    and save.

    Please let us know if you need more help.


    YOP Team

    This worked perfectly! Thank you so much! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line Break Causing Answers to Be on Seperate Lines’ is closed to new replies.