R reddy ink Active member Dec 15, 2015 #1 I would greatly appreciate if you can provide an example of how to create a custom Prefix CSS.
wang Well-known member Dec 15, 2015 #2 You can see examples of prefix classes at public.css template. Upvote 0 Downvote
P Paul B XenForo moderator Staff member Dec 15, 2015 #3 https://xenforo.com/community/resources/creating-custom-thread-prefix-css.350/ Upvote 0 Downvote
Mouth Well-known member Aug 13, 2016 #4 I've started using custom CSS for some of my thread prefixes, but not sure how to set the tooltip colours? Example: Custom CSS class name @ /admin.php?thread-prefixes/ : "prefix stateVIC" (without quotes) Added to Extra.CSS template: Code: .prefix.stateVIC { color: white; background-color: #000080; border-color: @primaryDarker; } With the thread prefix correctly looking like: When I put the mouse over the top of the prefix, then it looks like: What CSS setting would I need to add to control what the prefix looks like when in mouse over state? Thanks. Upvote 0 Downvote
I've started using custom CSS for some of my thread prefixes, but not sure how to set the tooltip colours? Example: Custom CSS class name @ /admin.php?thread-prefixes/ : "prefix stateVIC" (without quotes) Added to Extra.CSS template: Code: .prefix.stateVIC { color: white; background-color: #000080; border-color: @primaryDarker; } With the thread prefix correctly looking like: When I put the mouse over the top of the prefix, then it looks like: What CSS setting would I need to add to control what the prefix looks like when in mouse over state? Thanks.
Sunka Well-known member Aug 13, 2016 #5 hover? .prefix.stateVIC:hover { color: red; background-color: #blue; border-color: @primaryDarker; } Upvote 0 Downvote
Mouth Well-known member Aug 14, 2016 #6 Sunka said: hover? Click to expand... Thanks. Upvote 0 Downvote