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

    (@yourownprogrammer)

    Hello

    Please add the code below to the css section of the template you are using for your poll

    #yop-poll-container-%POLL-ID% {
    
      background: green !important;
      color: white !important;
    }
    .yop-poll-li-answer-%POLL-ID% {
     color:white !important;
    }

    Let us know how it goes.

    Best
    YOP Team

    Thread Starter EvolveWorkforce

    (@evolveworkforce)

    Hi,
    I am a big confused on where to locate the css file this should be going into. Is it going to be under the yop plugin directory or somewhere else? The template I am using is Green V1. I did not see any theme files when I looked under the YOP plugin directory. Thanks for clarifying.

    Matt

    Thread Starter EvolveWorkforce

    (@evolveworkforce)

    Actually I just added a simple css plugin to make some other adjustments on my site. The adjustments suggested by others on similar styling issues worked using code similar to what you provided. However, after adding this in to my plugin it is still not updating. Are we sure this is the correct code? Any typos? Thanks.

    Plugin Author YOP

    (@yourownprogrammer)

    Hey Matt,

    Sorry it took so long to get back to you.

    Make sure you add the code in the CSS section of the template you used for you poll.

    From the main YOP Poll menu go to Templates and edit the one you used. Scroll down to the CSS section, add the code we provided and save.

    Let us know if you need more help.

    Best wishes,

    YOP Team

    Thread Starter EvolveWorkforce

    (@evolveworkforce)

    Ok thanks. I am using this code with a custom CSS plugin. That is where I pasted the code. Is it possible to use with that kind of plugin? Would there be any other elements I can add?

    I prefer the plugin method as opposed to modifying the template. That way if there is an update the. The template isn’t written over.

    Plugin Author YOP

    (@yourownprogrammer)

    Hi Matt,

    Adding the CSS code in another plugin will not work.
    You have to edit the YOP Poll template and make the changes in the CSS section of that template.

    Please give it a try.

    The templates are not affected by upgrades so you it’s safe to make the changes directly in the templates.

    Regards,

    YOP Team

    Thread Starter EvolveWorkforce

    (@evolveworkforce)

    Hi,
    I found where you were referring me to in the WordPress Dashboard on the back end. I added it to the CSS template and unfortunately it still didn’t work.

    I am using Green V1. Any ideas? Thanks.

    Plugin Author YOP

    (@yourownprogrammer)

    Hi,

    Edit the template you used for your poll and in the CSS section add

    #yop-poll-answers-%POLL-ID% ul li label { color:white;} and save.

    Best wishes,

    YOP Team

    Thread Starter EvolveWorkforce

    (@evolveworkforce)

    That worked perfect. Thank you very much!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Widget Text Color’ is closed to new replies.