Support » Plugins and Hacks » [Resolved] How to edit width and color of the poll box?

[Resolved] How to edit width and color of the poll box?

  • Hi there,
    I’ve just installed your plugin and I’ve had a couple of problems.
    I understand this is a free plugin but I would really appreciate if I could have a little support 🙂

    Here are my issues:

    1) If I put the poll on my sidebar, it takes too much width when displaying the results, which changes the shape of the theme and brings the sidebar underneath the body…

    So, my first question is: how to give the poll box a max width of 150px both when voting and when displaying results?

    2) If I put the poll widget in my footer, I cannot read the options because my footer area is black. In this case how do I change the color of the voting options from black to white?

    3) I don’t want to create any /pollsarchive page, or if that’s necessary I don’t want it to be indexed. How do I do that?

    Thank you very much in advance!


Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Lester Chan


    1) All the styling you can do it in WP-Admin -> Polls -> Poll Templates. You can find the parent div and add a style “max-width: 150px;” or you can add it to your own theme css `.wp-polls, .wp-polls-form {
    width: 150px;
    2) I am not too sure about your theme works, but you can try removing the commented code in the included poll-css.css in line 53, example: https://github.com/lesterchan/wp-polls/blob/master/polls-css.css#L53

    3) You don’t have to do anything, you can always not show the poll archive link in the widget and remove it from the template in WP-Admin -> Polls -> Poll Templates

    Yeap, generally, I don’t provide support for theme/css related stuff as it takes up too much time.

    Hi Lester,
    and thanks for the answer.

    Well, I’m using Genesis eleven40 theme but I don’t know why my sidebars disappear when putting the poll on them (even with 150px width).

    Thing is that they disappear only when viewing the results of the poll…
    It’s very strange.

    About line 53… I deleted it but nothing changed and I’m still unable to see the words in the footer.
    I guess it’s because the poll box has a transparent background and #333 text. So since the background of my footer is #333, I cannot see the words…

    Maybe I should assign a background color to the poll box?

    Thanks for your help in advance!

    Plugin Author Lester Chan


    Yea u can as well, uncomment line 23

    Hello Lester

    Thanks for the plugin is very good!

    Thank you also for your tips and helps here in support! You are considerate and that’s cool.

    Please, I need some help … I have a similar problem co Deon – only that only happens in our No. 1 enemy: IE

    What could I do? I’ve tried many solutions and can not in the “ACE” polls come out and disrupts the entire page!!

    Thank you!
    (sorry my English use automatic tardução – Google)

    Solved! Thank you!

    Plugin Author Lester Chan


    @leokfoury: Sorry, I don’t get what you mean

    Hey Leonardo,
    to be honest my issue is still unsolved, how did you manage to fix it?


    Dear Lester,
    I appreciate your attention and sorry for taking your time.
    The problem faced is of another order. By turning off some plugins, I realized I have another origin.

    I have suggestions – very interesting – that can enhance VERY your plugin:
    1 – A widget, or an area where visitors could suggest a poll;
    3 – could have a poll option for the visitor to enter your age and gender when voting, and
    2 – A page where the administrator had control over the answers and generate statistics classifying the answers

    (I ask again, excuse my english – use automatic translation – Google)

    Dear Deon,
    Greetings! As I said to Lester ai the origin of that was here was not this plugin. Sorry can not help you. Actually not decided, but I know that it is not this plugin.

    (pray excuse my english – use automatic translation – Google)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] How to edit width and color of the poll box?’ is closed to new replies.