PDA

View Full Version : getting the forumbit to hover


Shamil.
25 Dec 2009, 00:52
Hi, I'm having a bit of trouble with my forumhome_forumbit_level2_post template.

Basically, I'm trying to make the forumbit change background on hovering (on it).

I've partially done it, but I can't get the second bit to hover :(

I'm using:


.forumrow div:hover {
background: {vb:stylevar highlight_background};
}

to make it colourful, but it's only colouring half of the div.

http://www.hostcule.com/forumsvb4/forum.php

Shamil.
29 Dec 2009, 14:45
anyone?

Lynne
29 Dec 2009, 15:06
div.forumrow:hover {
background: {vb:stylevar highlight_background};
}

Shamil.
30 Dec 2009, 03:01
Nope, it not longer hilights on hover :(

Lynne
30 Dec 2009, 03:37
Ah, I see, you need to also do it for the first-child (it works on all but the first one and you only have one on your forum, so...)
div .forumrow:hover, .forumhead + .childforum .L2:first-child .forumrow:hover {
background: {vb:stylevar highlight_background};
}

Shamil.
30 Dec 2009, 15:58
Thanks Lynne, it works :D

Sean James
08 Jan 2010, 01:57
I have got this to work on forumhome but on the threads page i am having problems

currrently trying this, maybe i am missing something:


div .discussionrow:hover, .threadlisthead + .childthread .L2:first-child .discussionrow:hover {
background: {vb:stylevar highlight_background};
}

Lynne
08 Jan 2010, 02:35
What is it you are trying to get to highlight upon hover on the 'threads' page (and what is a "threads" page - showthread?).

Sean James
08 Jan 2010, 02:37
Sorry meant to say on this page: forums/forumdisplay.php

The showthread

Lynne
08 Jan 2010, 02:45
Forumdisplay or showthread? You are confusing me here. And what do you want to highlight upon hover on that page? The posts? What part of the posts? An image just about ALWAYS helps.

You really need to be a LOT more specific here if you want help.

Sean James
08 Jan 2010, 02:52
Sorry, On the forumdisplay page i am trying to get the discussionrow to highlight when hovered like i have on the forumhome/index page:

http://www.bluepearl-design.com/forums/forum.php?styleid=107 works:

but for http://www.bluepearl-design.com/forums/forumdisplay.php?20-General-Chat i am having trouble getthing these threads to highlight

I would like the whole row to be selected just like on the index page.

Lynne
08 Jan 2010, 03:15
You need to have the row all one color if you want the whole row to change upon hover (default has the replies/views in a different color):
.threadbit .nonsticky:hover, .threadbit .discussionrow:hover {
background: whatever;
}You may want to add in .deleted and .ignored also.

Sean James
08 Jan 2010, 03:28
Thank you so much it worked ;)

I wasnt even close with my attempt hehe