Log in

View Full Version : Navtabs borders


ThatGreenAlien
03-08-2013, 11:20 PM
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, 12:20 AM
<li style="width:0px; border-left:1px solid white;"></li> just after the Donate tab

ThatGreenAlien
03-09-2013, 12:27 AM
<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, 12: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, 01: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, 01: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, 02:20 AM
Getting closer!

http://puu.sh/2eur8

There's an extra line on the right of it

nerbert
03-09-2013, 02:54 AM
Maybe border-right:none;

ThatGreenAlien
03-09-2013, 03:03 AM
No dice, thanks anyway though.

nerbert
03-09-2013, 03: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

ThatGreenAlien
03-10-2013, 05:28 PM
That did it! Thanks a ton! :D