Support » Plugin: YOP Poll » Poll formatting issues

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

    (@yourownprogrammer)

    Hi Darren,

    1. In YOP menu, go to “Templates” and edit the one you used for your poll. In the CSS section, after

    #yop-poll-answers-%POLL_ID% ul li label {

    add

    display: inline;

    and save.

    2. To style a template you have to edit it and scroll down to the CSS section.

    Best wishes,

    YOP Team

    Thank you so much for the quick reply, I just figure out myself.

    I create a new template cloned from ‘white’ named “none”.

    1. Label alignment issue
    In this template CSS:
    I added at bottom

    li[class='yop-poll-li-answer-%POLL-ID%'] > label {
       display: inline !important;
    }

    or your way shall work too:

    #yop-poll-answers-%POLL_ID% ul li label {
        ... (don't change)
        display: inline !important;
    }

    2. change style
    under #yop-poll-container-%POLL-ID% { ==> it’s at the top of css file
    I change background:### to background:none;

    I also added border & radius:

    border: solid 2px silver;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

    optional (margin & padding):

    margin: 10px;
    padding:18px;

    Thanks,
    Darren

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Poll formatting issues’ is closed to new replies.