The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
From searching these forums, I believe there is no stylevar for the navlinks left, right and bottom borders. So, I have located the CSS for the navlinks part of the forums, but I'm not quite sure how to go about adding stuff so it work how I want it to do, so if someone could guide me here, I'd be very greatful ![]() I just want a 1px border to follow the rest of the forum's style. I'm using the stock template with colour changes, nothing else. The code I have is this: Code:
} #navlinks { background: {vb:stylevar navlinks_background}; _background-image: none; border-top: {vb:stylevar navlinks_border_top}; padding: 6px; text-align: center; color: {vb:stylevar navlinks_color}; font-size: 1em; clear:both; } ![]() P.S. You know the small drop shadow that is to the left of the boxes on the main forum page? Can I add that to the border too? What is the correct name for that please? |
#2
|
|||
|
|||
![]()
Anyone any ideas on this please?
![]() |
#3
|
||||
|
||||
![]()
The place you need to change the CSS is in vbulletin.css
Search for: Code:
.navlinks { Code:
.navlinks { background: {vb:stylevar navlinks_background}; border: {vb:stylevar navlinks_border_top}; padding: {vb:stylevar padding} 0; text-align: center; color: {vb:stylevar navlinks_color}; font-size: {vb:stylevar font-size}; margin-top: 20px; margin-bottom: 20px; width:100%; clear:both; -moz-box-shadow: -2px 2px 2px {vb:stylevar shadow_color}; -webkit-box-shadow: -2px 2px 2px {vb:stylevar shadow_color}; } Use stylevar shadow_color to set the shadow color around the navlinks. |
#4
|
|||
|
|||
![]()
Hi Steve,
Thanks for the reply ![]() Sadly, nothing happens. I already have specified a border colour (in the stylevar) for the top, I have it as 575757, and I'm using the default shadow. With that code, neither the shadow or the border show up. |
#5
|
||||
|
||||
![]()
Are you looking in the correct template, vbulletin.css?
I tested this prior to posting here and it worked perfectly. The code you gave above does not change the navlinks like you want. You must edit vbulletin.css template. |
#6
|
|||
|
|||
![]()
Yes, see my original post, that code is the original code from vbulletin.css. If I replace yours with mine, nothing happens.
![]() |
#7
|
|||
|
|||
![]()
I've uploaded a screenshot to show where and how it was added.
|
#8
|
||||
|
||||
![]()
Can I get your web address to check it out?
Do you have anything in your additional.css template? Are you viewing the correct style when checking to see if it works, "vB4 Default Style"? |
#9
|
|||
|
|||
![]()
Thanks Steve, it was me, I must have done something wrong, so I reverted the template and redid it and it worked this time.
Can I just ask, if I want to add the shadow to any future items, is it just a case of adding those two lines to the end of the css for those particular areas? Code:
-moz-box-shadow: -2px 2px 2px {vb:stylevar shadow_color}; -webkit-box-shadow: -2px 2px 2px {vb:stylevar shadow_color} ![]() |
#10
|
||||
|
||||
![]()
Glad you got it working!
Yes you can use the shadows just about anywhere. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|