Support » Plugin: WP-Polls » Big Space between title and question
3 years, 1 month 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:
Hope you can help.
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>
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.
Remove all <p> and </p>. It is HTML. You will not screw it up.
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?
Huh? No. Go to your WordPress admin page using your browser, WP-Admin -> Polls -> Polls Template.
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?
Yes just remove all the <p> tag and that includes <p style="text-align: center;">.
<p style="text-align: center;">
Thanks alot Lester that worked.