WordPress.org

Forums

YOP Poll
[resolved] Answer and button on separate lines (4 posts)

  1. Jayschmay
    Member
    Posted 1 year ago #

    Hey YOP,

    My poll is showing the answer and selection button on different lines.

    I've gone through the support forums and changed to template css based on some of the other users issues with no fix.

    Any thoughts?

    http://www.podkapaintball.com

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

  2. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jayschmay,

    The problem is caused by the WordPress theme you use.
    Edit your template and in the CSS section replace

    #yop-poll-answers-%POLL-ID% ul li input {
    margin:0px;
    float:none;
    }

    with

    #yop-poll-answers-%POLL-ID% ul li input {
    margin: 0 5px 0 0 !important;
    width: 0 !important;
    float:none;
    }

    Regards,

    YOP Team

  3. Jayschmay
    Member
    Posted 1 year ago #

    Hey YOP Team,

    I updated the template CSS but now the check boxes are gone and the "other" input field's size is almost non-existant.

    Thanks,
    Jason

  4. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jayschmay,

    Please undo previous changes and add following modifications in CSS section of template

    #yop-poll-answers-%POLL-ID% ul li input[type="radio"],#yop-poll-answers-%POLL-ID% ul li input[type="checkbox"] {
        float: none;
        margin: 0 5px 0 0 !important;
        width: 13px !important;
    }

    After that, add display:inline !important; to #yop-poll-answers-%POLL-ID% ul li label

    Regards,
    YOP Team!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.