![]() |
Forum Highlight
1 Attachment(s)
How can I make the forums highlight when the mouse is over them? Something like the below screen shot.
|
Quote:
|
Use CSS and the pseudo class :hover to style classes or perhaps some javascript if you're more comfortable with that.
|
Quote:
|
Not sure if there are any hacks, it's a relatively simple concept.
A better way for threads since it is in a table is to actually use Javascript. If you go to the showthread_threadbit_level1_post and showthread_threadbit_level2_post you can add some inline JS code to the <tr>'s. Make sure you strip the classes from the <td>'s so that the <tr> takes precedence. Make the <tr> Code:
<tr onmouseover="this.className='somestyle'" onmouseout="this.className='originalstyle'" class="originalstyle"> Make sure you define the classes in the css. |
Sorry, but I'm kinda new to this stuff. I don't know where the "showthread_threadbit_level1_post" and "showthread_threadbit_level2_post" are. I want to put this color as my highlight color "#FFFF66" Can you provide me step by step on how to do this? Cause I don't know where to add the CSS / <tr><td> and stuff like that :confused: It would be really cool if you can teach me how to do this in an easier way lol? Sorry and thank you so much for your help! :up::cool:
|
Any help, someone? :confused:
|
Quote:
Code:
To test it out, create a new style in your Style Manager with No Parent style, and open up those templates and experiment with putting them into those tags. You can then view the forum in your test style to see if the changes are working the way you want them to. Oh, um, this is the easy way. ;) |
The templates I told you start off with
<tbody> <tr> <td> On a default theme typically the <td>'s have the class="" inside them, usually alternating between alt1 and alt2. You'll need to remove all of these and place on class alt1 on the <tr>. This is because the <td>'s would show their style over the <tr> and you cant change the style of all the <td>'s as easily as you can change the style of the <tr>. CSS is located in Styles & Templates > All Style Options And yeah, this is the easiest way ;) |
All times are GMT. The time now is 04:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|