Changing SP Polls Color Result - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Changing SP Polls Color Result

H

Hakunamatata67

Extension 3 years ago

Hi,

I'd like to change the color of the results bars (the blues, the grey...) in SP Polls.

<a href="/https://imgbb.com/"><img src="/https://i.ibb.co/CwtyDsY/Capture-d-cran-2022-01-18-174207.jpg" alt="Capture-d-cran-2022-01-18-174207" border="0"></a>

How can I do it?

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #52994

Hi there!

Thanks for your query.

Actually, you can change the colors by using custom CSS. https://prnt.sc/26fa6g7

You need to enter your codes within the custom CSS field of the Template. Here are some example codes for you:

.sp-poll-result .progress-bar.progress-bar-primary {
background-color: red;
}
.sp-poll-result .progress-bar.progress-bar-info {
background-color: green;
}
.sp-poll-result .progress-bar.progress-bar-default {
    background-color: blue;
}

Note: Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

The following blog may help you in this case: https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action

Best Regards

1
H
Hakunamatata67
Accepted Answer
3 years ago #53088

Thanks Rashida! Have a nice day

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #53109

You are always welcome:)

0