WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
[resolved] Big Space between title and question (9 posts)

  1. Bonesy88
    Member
    Posted 4 months ago #

    Hi, great plug-in.

    I've been trying to figure out how to reduce the large space between the title and the actual poll. As you can see this space is much larger than in my other widgets:

    http://sageinhome.com/

    Hope you can help.
    Thanks

    https://wordpress.org/plugins/wp-polls/

  2. Lester Chan
    Member
    Plugin Author

    Posted 4 months ago #

    You can customized the templates in WP-Admin -> Polls -> Polls Template. Looks like your theme makes the <p> extra padding at the botton. Go to the template and remove all the <p>

  3. Bonesy88
    Member
    Posted 4 months ago #

    I went to the WP-Polls plug-in page and used the edit 'wp-polls/polls-templates.php' option.

    I found alot of <p> on different lines so I'm not sure which one to remove.

    If you don't mind, can you tell me exactly which <p> to remove, from which line, and how to get to the template to edit it? I don't want to remove the wrong thing and mess anything up.

    Thanks

  4. Lester Chan
    Member
    Plugin Author

    Posted 4 months ago #

    Remove all <p> and </p>. It is HTML. You will not screw it up.

  5. Bonesy88
    Member
    Posted 4 months ago #

    Okay do I remove them from the wp-template.php plug-in file?

    There are only 2 <p> but many </p>. Do I remove the <p style=" ..as well?

    Thanks

  6. Lester Chan
    Member
    Plugin Author

    Posted 4 months ago #

    Huh? No. Go to your WordPress admin page using your browser, WP-Admin -> Polls -> Polls Template.

  7. Bonesy88
    Member
    Posted 4 months ago #

    The only <p> I see is under 'Individual Poll Footer':

    <p>Start Date: %POLL_START_DATE%
    End Date: %POLL_END_DATE%</p>

    The rest such as Voting Form Header, etc. contain '<p style=':

    <p style="text-align: center;">%POLL_QUESTION%</p><div id="polls-%POLL_ID%-ans" class="wp-polls-ans"><ul class="wp-polls-ul">

    Is this what you mean?
    Thanks

  8. Lester Chan
    Member
    Plugin Author

    Posted 4 months ago #

    Yes just remove all the <p> tag and that includes <p style="text-align: center;">.

  9. Bonesy88
    Member
    Posted 4 months ago #

    Thanks alot Lester that worked.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.