hello, i have just set up two quizzes on the website and …

closed

hello, i have just set up two quizzes on the website and I am trying to change some colors by editing the style.css file.
I havr tried to use
.hdq_button {
background: #eb752f;
}
but this doesn’t seem to work. Am I forgetting something here?
peter

This thread has been imported from harmonicdesign.ca/hd-quiz/

October 13, 2020 at 5:40pmpeter

Hi Peter,
you are on the right track. CSS rules will always use the most specific rule unless you use the !important indicator.

Since .hdq_button already has a default background, you’d need to either A) use a more specific CSS selector, or B) use !important to override it.

so .hdq_button { background: #eb752f !important; } will get you what you want 🙂

This thread has either been marked as complete or has been automatically closed due to inactivity. Please consider opening a new support thread for help.