WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] YOP polls, possible to hide poll name? Tighten spacing between questions? (3 posts)

  1. jojojovich
    Member
    Posted 10 months ago #

    I only need the question to show up on my page, not the poll name, if possible. Can I hide the poll name on my page? (I tried deleting it from my saved poll, but it wouldn't let me save after I deleted its name.)

    Also, how can I tighten the spacing between/line-height of the poll questions?

    Thank you so much -- YOP is much easier to work with than the "other" poll option!!

  2. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hi jojojovich,

    To hide the poll name go to Templates and look for the template you used for your poll. When you drag your mouse over it, you will see a menu. From the menu, click on Edit and you'll see several boxes that you can edit.

    In "Template Before Vote" delete:

    <div id="yop-poll-name-%POLL-ID%" class="yop-poll-name">%POLL-NAME%</div>

    and in Template After Vote" delete:

    <div id="yop-poll-name-%POLL-ID%" class="yop-poll-name">%POLL-NAME%</div>

    Then click on "Save Poll Template" and the poll name will not be displayed anymore.

    In regards to your second question, please give us an example and provide the link to your website.

    Best Regards,
    YOP Team

  3. jojojovich
    Member
    Posted 10 months ago #

    Hi, thank you so much for your help!

    More code duncery: I can't find what firebug tells me is the top poll question so I can make it smaller and give it a margin-bottom. Firebug says the poll question is here (below), but where can I change those specs given I don't see this in the yop-poll css, in the poll templates?

    #yop-poll-question-3 {
        font-size: 14px;
        margin: 5px 0px;
    }

    *Do you need my link for this, or do YOP polls attach the css for yop-poll-question-3, in a certain document I can find in the WP lineup? THANKS!! :)

Reply

You must log in to post.

About this Plugin

About this Topic