Plugin Author
YOP
(@yourownprogrammer)
Hi Theden,
Please provide a link to your website so we may assist.
Regards,
YOP Team
Thread Starter
Theden
(@theden)
My website is currently locally hosted. It is simply a stock wordpress site, using the twenty twelve theme.
For text, if I use <div style=”text-align:center”> blah blah blah </div> the text is centered the way I want the poll to be. I assume this is possible with CSS too, although I am not a CSS person.
Thanks again for any assistance you can offer.
Plugin Author
YOP
(@yourownprogrammer)
Hey Theden,
From the main menu go to “Templates” and edit the template you used for your poll. In the CSS section, replace
#yop-poll-container-%POLL-ID% {
width:200px;
background:#555;
padding:10px;
color:#fff;
overflow:hidden;
font-size:12px;
}
with
#yop-poll-container-%POLL-ID% {
width:200px;
background:#555;
padding:10px;
color:#fff;
overflow:hidden;
font-size:12px;
text-align:center;
}
and save.
Best wishes,
YOP Team
My sidebar isn’t 200px and the whitespace created is ugly to look at. How do I fix this?
Thread Starter
Theden
(@theden)
Thanks YourOwnProgrammer.
That aligns the text to the centre of the poll and keeps the poll on the left of the screen. I was hoping to have the whole poll aligned to the centre of the screen.
Is this possible?
Plugin Author
YOP
(@yourownprogrammer)
Hello
From the main menu go to “Templates” and edit the template you used for your poll. In the CSS section look for this code
#yop-poll-container-%POLL-ID% {
width:200px;
Replace 200px with the size that fits your needs.
Best Regards,
YOP Team