vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - [DBTech] vBNavTabs (https://vborg.vbsupport.ru/showthread.php?t=274972)

SpikedRocker 11-05-2012 11:55 PM

Quote:

Originally Posted by DragonByte Tech (Post 2378430)
If you are talking about the text that uses the stylevar, popupmenu_link_color found in the group PopupMenus.

Chris

I did this but it did not change the color for some reason. I was able to change the font size so its better, but using a different color would help. http://www.tns-gaming.com is our site and the Features dropdown is where I am having trouble.

I know I did this right because it is showing up on other things that are not related to NavTabs

DragonByte Tech 11-06-2012 12:10 AM

That is the only thing I can think of, unless the custom style is using something different, you could do a search in templates for this:

Code:

.navtabs li.selected .popupbody li
Once you see which templates have that, open them up and then click on find and look for some code that looks like this:

Code:

.navtabs li.selected .popupbody li a {
    text-indent: 0;
    color: {vb:stylevar navbar_popupmenu_link_color};
    background: {vb:stylevar navbar_popupmenu_link_background};
    padding:{vb:stylevar popup_padding.paddingTop}{vb:stylevar popup_padding.units} {vb:stylevar padding};
}

Where it says, color: {vb:stylevar navbar_popupmenu_link_color}; that is the stylevar it is using.

Chris

SpikedRocker 11-06-2012 04:45 AM

I've looked at that and it appeared fine, when I look at the raw code and inspected the element using chrome I am seeing this:

Code:

<a style="color:rgb(0, 0, 0)" href="http://www.tns-gaming.com/arcade.php" target="_self">Arcade</a>
The CSS element is just element.style. It appears its being generated in the code instead of the CSS or a StyleVar. Have no clue why this is that way. Any ideas?

DragonByte Tech 11-06-2012 11:30 AM

Maybe the style coder did not add the code in right, try adding this to your additional.css template in that style:

Code:

.popupbody li a,
.popupbody li label {
    color: {vb:stylevar popupmenu_link_color};
}

And let me know if it works or not, if it don't you can remove that code from the template so it don't cause issues down the road.

Chris

SpikedRocker 11-06-2012 04:59 PM

That didn't work, but I went into the code more and I checked where it was getting all the information. In the includes/functions.php it had the .navbar_selected_popup_body_a_Color stylevar being used. I added that into my additional.css and it didn't work, so I decided to experiement and just changed the code there to a color and it worked.

I hate to do that and I know when you push an update I'll probably have to redo it, but at least I got the result I was looking for. I have no clue why none of the style vars were working.

In further looking, I've discovered I don't have a navbar_selected_popup_body_a_Color stylevar. How can I add one to my style so I don't have to mod your code?

DragonByte Tech 11-06-2012 06:25 PM

It can get a bit complicated, but you can look at this post and see if you can do it, https://vborg.vbsupport.ru/showthread.php?t=233973

I would ask the skin developer to add it as it should be there.

Chris

SpikedRocker 11-07-2012 04:49 AM

Thanks for all the help the past few days!

boss22 11-10-2012 04:24 PM

Used this mod with some another skins (TF_Ideal) and skin is fixed ..when i use this tabs mod skin is totaly destroyed ( fixed become fluid, font sizes, colors and much more) ...when i disabled this mod..skin works fine ... no problems

some solution or help?

regards

bosss

DragonByte Tech 11-10-2012 04:54 PM

Which version of vBulletin are you using, and is the skin available here on vBulletin.org for me to download?

Chris

boss22 11-10-2012 05:11 PM

Quote:

Originally Posted by DragonByte Tech (Post 2380025)
Which version of vBulletin are you using, and is the skin available here on vBulletin.org for me to download?

Chris

Use last version - 4.2.0 PL3 and skin i purchased from themeforest site. Skin is for vb 4.2

i can send skin files - no problem!

regards

bosss


All times are GMT. The time now is 10:02 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.01338 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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