Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-27-2013, 05:50 PM
Ross L Ross L is offline
 
Join Date: Apr 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Sub menu display issues since upgrade to 4.2.1

Hi,

I've noticed on some themes the sub menu is broken during the upgrade from 4.2 to 4.2.1 (example attached). Any ideas on the cause / fix, as the theme creator has been AWOL for many months.

The additional CSS contains the following relating to the navbar:

Code:
/* Navbar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.navbar {
    background:{vb:stylevar nav_background};
    position:relative;
    height:{vb:stylevar nav_height};
    font:{vb:stylevar navbar_font};
    color:{vb:stylevar navbar_link_color};
    width:100%;
    padding:0;
    margin:0;
}
.navbarLeft {
    background:{vb:stylevar nav_left_background};
    height:{vb:stylevar nav_height};
}
.navbarRight {
    background:{vb:stylevar nav_right_background};
    height:{vb:stylevar nav_height};
    padding:0 9px;
}
#navtabs li.selected ul.floatcontainer {
    margin-top:{vb:stylevar nav_selected_margin};
}
#navtabs li.selected ul.floatcontainer a:link, #navtabs li.selected ul.floatcontainer a:visited {
    line-height:{vb:stylevar nav_selected_height};
    height:{vb:stylevar nav_selected_height};
}
.navbar a { color:{vb:stylevar navbar_link_color}; }
.navbar a:hover { color:{vb:stylevar navbar_linkhover_color}; }

.navtabs ul li:first-child {

}
.navtabs {
    padding-{vb:stylevar left}:0;
}
.navtabs ul {
    position:absolute;
    top:{vb:stylevar navbar_tab_size.height}px;
    {vb:stylevar left}:0px;
    width:100%;
/* This is to fix RTL menu issue under Opera */
        direction:ltr;
}
.navtabs li {
    float:{vb:stylevar left};
    padding-{vb:stylevar right}:2px;
    background:url({vb:stylevar imgdir_themedir}/navSplit.gif) no-repeat top {vb:stylevar right};
}
.navtabs li li {
    background:none;
}

.navtabs ul li {
    border-{vb:stylevar right}: 0;
    position: relative;
}
.navtabs li a {
    height:{vb:stylevar navbar_tab_size.height}px;
    line-height:{vb:stylevar navbar_tab_size.height}px;
}
.navtabs li a.navtab {
    display:block;
    min-width:{vb:math {vb:stylevar navbar_tab_size.width} - 2 * {vb:stylevar padding}};
    width:auto !important;
    width:{vb:math {vb:stylevar navbar_tab_size.width} - 2 * {vb:stylevar padding}};
    _min-width:{vb:math {vb:stylevar navbar_tab_size.width} - 0.5 * {vb:stylevar padding}};
    _width:auto !important;
    _width:{vb:math {vb:stylevar navbar_tab_size.width} - 0.5 * {vb:stylevar padding}};
    text-align:center;
    color:{vb:stylevar navbar_link_color};
    font:{vb:stylevar nav_font};
    text-decoration:none;
    line-height:{vb:stylevar navbar_tab_size.height}px;
    height:{vb:stylevar navbar_tab_size.height}px;
    padding:0 10px;
}
.navtabs li a.navtab:hover {
    background:{vb:stylevar navbar_tab_selected_background};
    color:{vb:stylevar navbar_linkhover_color};
}
.navtabs li.selected {
    color:{vb:stylevar navbar_linkhover_color};
    height:{vb:stylevar navbar_tab_size.height}px;
}
.navtabs li.selected a.navtab {
    color:{vb:stylevar navbar_linkhover_color};
    position:relative;
    top:-{vb:stylevar navbar_tab_selected_top_width}px;
    padding-top:{vb:stylevar navbar_tab_selected_top_width}px;
    z-index:10;
}
.navtabs li.selected li a,
.navbar_advanced_search li a {
    text-decoration:none;
    font:{vb:stylevar navbar_font};
    line-height:{vb:stylevar nav_selected_height};
}
.navtabs li.selected li {
    padding:0 5px;
}
.navtabs li.selected li li {
    padding:0 2px;
}
.navtabs li.selected li a {
    color:{vb:stylevar nav_selected_link_color};
    font-weight:400;
    padding:{vb:math {vb:stylevar padding}/5} {vb:math {vb:stylevar padding}/2};
}

.navbar_advanced_search li {
    height:{vb:stylevar nav_selected_height};
    display:block;
    clear:both;
}

.navbar_advanced_search li a {
    color:{vb:stylevar navbar_link_color};
}

.navbar_advanced_search li a:hover {
    color:{vb:stylevar navbar_linkhover_color};
    text-decoration:{vb:stylevar linkhover_textDecoration};
}

.navtabs li.selected li a:hover {
    color:{vb:stylevar nav_selected_link_hover_color};
    text-decoration:{vb:stylevar linkhover_textDecoration};
}

.navtabs li.selected .popupbody li > a {
    padding:{vb:stylevar popup_padding}px {vb:stylevar padding};
    text-indent: 0;
    color: {vb:stylevar navbar_selected_popup_body_a_Color};
}

.navtabs li.selected li a.popupctrl {
    -moz-border-radius:3px;
    -webkit-border-radius:3px;    
    border:solid {vb:stylevar lightweightbox_border.borderWidth}px transparent;
    _border: none;
    background:transparent url({vb:stylevar imgdir_misc}/arrow.png) no-repeat {vb:stylevar right} center;
    padding-{vb:stylevar right}:15px;
        _background-image:url('{vb:stylevar imgdir_misc}/arrow.gif');
    color:{vb:stylevar nav_selected_link_color};
}

.navtabs li.selected li:hover a.popupctrl.active,
.navtabs li.selected li a.popupctrl.active,
.navtabs li.selected li a:hover.popupctrl {
    color:#fff;
}
Any help would be greatly appreciated.

Thanks in advance.

Ross
Attached Images
File Type: jpg Untitled-2.jpg (13.1 KB, 0 views)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:43 AM.


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.02939 seconds
  • Memory Usage 2,276KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete