Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2013, 12:20 AM
ThatGreenAlien ThatGreenAlien is offline
 
Join Date: Dec 2012
Location: Betelgeuse
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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:



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?
Reply With Quote
  #2  
Old 03-09-2013, 01:20 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<li style="width:0px; border-left:1px solid white;"></li> just after the Donate tab
Reply With Quote
  #3  
Old 03-09-2013, 01:27 AM
ThatGreenAlien ThatGreenAlien is offline
 
Join Date: Dec 2012
Location: Betelgeuse
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
<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
Reply With Quote
  #4  
Old 03-09-2013, 01:59 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-09-2013, 02:14 AM
ThatGreenAlien ThatGreenAlien is offline
 
Join Date: Dec 2012
Location: Betelgeuse
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like this?



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



Thanks for all the help so far.
Reply With Quote
  #6  
Old 03-09-2013, 02:39 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #7  
Old 03-09-2013, 03:20 AM
ThatGreenAlien ThatGreenAlien is offline
 
Join Date: Dec 2012
Location: Betelgeuse
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting closer!



There's an extra line on the right of it
Reply With Quote
  #8  
Old 03-09-2013, 03:54 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe border-right:none;
Reply With Quote
  #9  
Old 03-09-2013, 04:03 AM
ThatGreenAlien ThatGreenAlien is offline
 
Join Date: Dec 2012
Location: Betelgeuse
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No dice, thanks anyway though.
Reply With Quote
  #10  
Old 03-09-2013, 04:13 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
ThatGreenAlien
Reply

Thread Tools
Display Modes

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 09:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04510 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (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_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
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete