1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Thesis 1.8 and WP Polls Buttons Issue

Discussion in 'Content Management System' started by shabbir, Oct 8, 2010.

  1. shabbir

    shabbir Administrator Staff Member

    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.

    [​IMG]

    The Cause



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

    HTML:
    .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:
    .wp-polls input { width:auto;}
     
  2. shabbir

    shabbir Administrator Staff Member

  3. shabbir

    shabbir Administrator Staff Member

Share This Page