Fri, 2016-12-30 16:21
a.button:link, a.button:hover, a.button:visited, a.button:active { background: #49657d; color: #fff; display: inline-block; padding: 6px 8px; margin: 2px 2px 6px 2px; border: 1px solid #395063; text-shadow: 1px 1px 0px #395063; font-family: Source Sans Pro,Tahoma,Helvetica Neue,Arial,sans-serif; font-size: 14px; font-style: normal; } a.button.small_button { margin: 0; padding: 3px 6px; font-size: 14px; } a.button span { padding: 3px 10px; display: inline-block; } a.button.new_thread_button span { background-position: 0 -340px; }
I just took a random sample out of the CSS..where it says a.button.new_thread_button span I would like to make a hover effect for that one. I just want to change the background color when I hover.
Fri, 2016-12-30 19:20
#1
Try
Try this.
a.button.new_thread_button:hover span { background-color: red; color: white; /* always declare both color and background color when you change one or the other */ }
cheers,
gary
Fri, 2016-12-30 22:42
#2
Thank you so much! Does it
Thank you so much! Does it need to be background-color or just background color?
Sat, 2016-12-31 00:58
#3
Good catch
Fixed.
gary