vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   getting the forumbit to hover (https://vborg.vbsupport.ru/showthread.php?t=231119)

Shamil. 12-24-2009 11:52 PM

getting the forumbit to hover
 
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:

Code:

.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. 12-29-2009 01:45 PM

anyone?

Lynne 12-29-2009 02:06 PM

HTML Code:

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


Shamil. 12-30-2009 02:01 AM

Nope, it not longer hilights on hover :(

Lynne 12-30-2009 02:37 AM

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...)
HTML Code:

div .forumrow:hover, .forumhead + .childforum .L2:first-child .forumrow:hover {
background: {vb:stylevar highlight_background};
}


Shamil. 12-30-2009 02:58 PM

Thanks Lynne, it works :D

Sean James 01-08-2010 12:57 AM

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:

Code:

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


Lynne 01-08-2010 01:35 AM

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 01-08-2010 01:37 AM

Sorry meant to say on this page: forums/forumdisplay.php

The showthread

Lynne 01-08-2010 01:45 AM

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.


All times are GMT. The time now is 03:57 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
  • Page Generation 0.00978 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete