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

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    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;}
     
    Last edited: Jan 21, 2017
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice