Thesis 1.8 and WP Polls Buttons Issue

shabbir's Avatar author of Thesis 1.8 and WP Polls Buttons Issue
This is an article on Thesis 1.8 and WP Polls Buttons Issue in Content Management System.
I use Thesis Wordpress Theme on IMTips and recently upgraded it to Thesis 1.8 and found that Thesis CSS scrambles Wordpress Polls Plugin if you put the poll inside your post body.

The Issue



If you insert a poll inside the post, form elements take extra spacing. See the screenshot.



The Cause



Thesis specifies the width of the input elements inside a post as

HTML Code:
.format_text input, #commentform input, #commentform textarea { width: 45%; padding: 0.25em; border-width: 0.083em 0.083em 0.083em 0.083em; }
The intention is to make the comment form width 45% of the available width but this also makes the input fields and especially the radio buttons of Wordpress poll to take 45% width.

The Patch



To solve the problem you have to enable Custom Stylesheet Options in the Thesis's Site Options Interface and then add the following property to your custom.css file.

HTML Code:
.wp-polls input { width:auto;}
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Nominate this article for Article of the month - Oct 2010 Before November 15th 2010
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Vote for this Article for Article of the month - Oct 2010. Voting closes on November 27th, 2010