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)
-   -   Navtabs borders (https://vborg.vbsupport.ru/showthread.php?t=295923)

ThatGreenAlien 03-09-2013 12:20 AM

Navtabs borders
 
Hi there, quick question. I'm basically editing the colors from the original vB4 theme to my liking, along with some other adjustments. On my navtavs, I have a "ridge" feel to it, seen here:

http://puu.sh/2ep9P

As you can see, the last border (Right part of "Donate") is not correct, as it relies on having ones next to it to create the depth feel. How would I go about adding a left border to the navbar that's next to the last tab?

nerbert 03-09-2013 01:20 AM

<li style="width:0px; border-left:1px solid white;"></li> just after the Donate tab

ThatGreenAlien 03-09-2013 01:27 AM

Quote:

Originally Posted by nerbert (Post 2408926)
<li style="width:0px; border-left:1px solid white;"></li> just after the Donate tab

Just to be sure, which template am I putting this in? Also, in-case this matters, I'm using the Navigation Manager that's built in with vBulletin 4.2

nerbert 03-09-2013 01:59 AM

Oh, I forgot about the navigation manager.

In the navbar template just after {vb:raw template_hook.navtab_end}. I don't know if the border color and width are correct, you'll have to look those up or experiment until you get them right.

ThatGreenAlien 03-09-2013 02:14 AM

Like this?

http://puu.sh/2esId

It still looks the same. In-case we're thinking of different things, I'm talking about making a border right here:

http://puu.sh/2esM4

Thanks for all the help so far.

nerbert 03-09-2013 02:39 AM

I guess it's what's inside that counts (what a nice idea!). try

<li><a class="navtab" style="min-width:0px; padding:0px; border-right:0px;"></a></li>

ThatGreenAlien 03-09-2013 03:20 AM

Getting closer!

http://puu.sh/2eur8

There's an extra line on the right of it

nerbert 03-09-2013 03:54 AM

Maybe border-right:none;

ThatGreenAlien 03-09-2013 04:03 AM

No dice, thanks anyway though.

nerbert 03-09-2013 04:13 AM

Try min-width:90%; It's a weird way to do it but it may work. On my vB default style it's almost correct, just one little piece of top border one px wide. It may work on yours though


All times are GMT. The time now is 03:07 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.01187 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_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