Tagged: x
-
AuthorPosts
-
August 27, 2016 at 11:41 pm #1150169
yhshin1020ParticipantHey,
I have a bunch of text with links with a class “reports”.
I want to make it such that when i hover over the link it changes color and has a delay to it.
I’ve added this code:
#reports: hover{ color: #eea904 !important; transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) !important; }but they don’t seem to work.
Could anyone give me help?
Thanks
August 27, 2016 at 11:43 pm #1150170
yhshin1020ParticipantThis reply has been marked as private.August 28, 2016 at 1:22 am #1150231
LelyModeratorHi There,
Upon checking, reports is define as ID and not class. Id should be unique and can only be used once. Please define it as class like on attached screenshot.
Then update this:
#reports { font-family: 'myriad-set-pro_thin'; color: black; font-size: 20px; margin-top: 4%; }To this:
.reports { font-family: 'myriad-set-pro_thin'; color: black; font-size: 20px; margin-top: 4%; }Then for the hover effect, use this instead:
.reports a:hover { color: #eea904 !important; transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) !important; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1150169 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
