WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
[resolved] How to edit width and color of the poll box? (10 posts)

  1. Deon B
    Member
    Posted 9 months ago #

    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!
    D.

    http://wordpress.org/plugins/wp-polls/

  2. Lester Chan
    Member
    Plugin Author

    Posted 9 months ago #

    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.

  3. Deon B
    Member
    Posted 9 months ago #

    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!
    D.

  4. Lester Chan
    Member
    Plugin Author

    Posted 9 months ago #

    Yea u can as well, uncomment line 23

  5. leokfoury
    Member
    Posted 9 months ago #

    Hello Lester
    Greetings!

    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!
    Leonardo
    (sorry my English use automatic tardução - Google)

  6. leokfoury
    Member
    Posted 9 months ago #

    Solved! Thank you!

  7. Lester Chan
    Member
    Plugin Author

    Posted 9 months ago #

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

  8. Deon B
    Member
    Posted 9 months ago #

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

    Thanks!
    D.

  9. leokfoury
    Member
    Posted 9 months ago #

    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

    Success!
    Leonardo
    (I ask again, excuse my english - use automatic translation - Google)

  10. leokfoury
    Member
    Posted 9 months ago #

    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.

    Success!
    Leonardo
    (pray excuse my english - use automatic translation - Google)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.