1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Poll Enhancement

Discussion in 'Template Modifications [Archive]' started by Shelley, Feb 26, 2011.

  1. Shelley

    Shelley Well-Known Member

    Russ, iXanon, makdeniss and 5 others like this.
  2. Onimua

    Onimua Well-Known Member

    Simple, yet makes pleasant changes. :D
  3. Allan

    Allan Well-Known Member

    Nice modif :)
  4. Travis

    Travis Active Member

  5. Shelley

    Shelley Well-Known Member

    Try inserting the following into your Extra.css template into the following color: #000000 !important;

    .pollBlock .pollOptions, .pollBlock .pollResults {
  6. Ranger375

    Ranger375 Well-Known Member

    Crazy question: how would you change the color of the poll progression?
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Add this to EXTRA.css:
    .pollResult .bar {
    background: #000000;
    Change the colour to suit.
    You may need to use the !important attribute.
    Ranger375 likes this.
  8. Shelley

    Shelley Well-Known Member

    Insert the following into your Extra.css template and adjust the colours (hexvalues) to suit.

    .pollResult .barContainer {
        border: 1px solid #91b566 !important;
    .pollResult .bar {
        background: none repeat scroll 0 0 #c8ec9d !important;
    Ranger375 likes this.
  9. Ranger375

    Ranger375 Well-Known Member

    Thanks, worked perfectly with the !important
  10. Ranger375

    Ranger375 Well-Known Member

    Thanks, both methods seem to work :D
  11. Shelley

    Shelley Well-Known Member

    Bare in mind if you also want to re-colour the border that surrounds the background you'll have to insert the code I posted. Pauls will only adjust the background.
    Ranger375 likes this.
  12. Michael Dance

    Michael Dance Active Member

    I edited the css to try and make it more xenforo default style
    using this css bellow:
    #PollContainer .secondaryContent    {
    border: 1px solid #6cb2e4 !important;
    background-color: #a5cae4 !important;
    border-radius: 5px !important;
    .pollBlock .question .questionText {
        color: #176093 !important;
        float: left;
        font-size: 16pt;
    .pollBlock .pollOptions, .pollBlock .pollResults {
        border-bottom: 1px solid #6cb2e4 !important;
        border-top: 1px solid #6cb2e4 !important;
        margin: 5px 0;
        padding: 5px 0;
        width: 100%;
    .pollBlock .questionMark {
        -moz-border-radius: 5px 5px 5px 5px;
        background: url("@imagePath/xenforo/widgets/poll.png") no-repeat scroll 0 0 !important;
        color: none !important;
        font-family: none !important;
        font-size: 0 !important;
        height: 40px;
        left: 0;
        line-height: 40px;
        position: absolute;
        text-align: center;
        top: 0;
        width: 40px;
    .pollBlock .pollOption label:hover{
    background: none repeat scroll 0 0 #6cb2e4 !important;
    Thank you for this Shelly :) love it.


Share This Page