Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Content Management System (http://www.go4expert.com/articles/cms/)
-   -   Thesis 1.8 and WP Polls Buttons Issue (http://www.go4expert.com/articles/thesis-18-wp-polls-buttons-issue-t23523/)

shabbir 8Oct2010 20:17

Thesis 1.8 and WP Polls Buttons Issue
 
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.

http://imgs.g4estatic.com/thesis-wp-...ror-thesis.png

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 1Nov2010 16:27

Re: Thesis 1.8 and WP Polls Buttons Issue
 
Nominate this article for Article of the month - Oct 2010 Before November 15th 2010

shabbir 17Nov2010 17:12

Re: Thesis 1.8 and WP Polls Buttons Issue
 
Vote for this Article for Article of the month - Oct 2010. Voting closes on November 27th, 2010


All times are GMT +5.5. The time now is 17:17.