Just got WSN Links and love it. As I go through the manual and learn the codes I can help with template mods. Didn't see this anywhere and it's a simple one that I've used on my site and thought I'd share. Simply modify the image paths, sizes, and colors to your personal choice.
Add the following to your stylesheet (styles/default.css by default):
#navbar_menu ul li { display: block; float: left; margin: 0; border-right: 2px outset #BDBDBD; border-left : 1px outset #6699FF; }
#navbar_menu ul li a:link, #navbar_menu ul li a:visited { display: block; float: left; color: #FFF; text-decoration: none; padding: 0 20px 0 20px; height: 25px; background-image: url('../images_default/navbar_off.gif'); background-position: top left; }
#navbar_menu ul li a:hover { background-image: url('../images_default/navbar_on.gif'); background-position: top left; }
#navbar_menu ul li a.current, #navbar_menu ul li a.current:hover { background-image: url('../images_default/navbar_current.gif'); background-position: top left; }
ADD the following to your WRAPPER under Global templates:
Looks good, but instead of http://wsnlinksdirectory, use {DIRURL}. Changed it for you. Also made it obey the switches. Also changed it to have the images be in templates/images_default with the rest.
Thanks Paul. I've been doing template vb designs for the last couple of years. Having to wrap my mind our and seek out all the conditionals for wsnlink now. But I will prevail.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Navigation Menu
Member
Usergroup: Customer
Joined: Oct 13, 2007
Total Topics: 4
Total Comments: 12
Just got WSN Links and love it. As I go through the manual and learn the codes I can help with template mods. Didn't see this anywhere and it's a simple one that I've used on my site and thought I'd share. Simply modify the image paths, sizes, and colors to your personal choice.
Add the following to your stylesheet (styles/default.css by default):
ADD the following to your WRAPPER under Global templates:
This will simulate a menu that will show highlighted based on what template your are using.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Looks good, but instead of http://wsnlinksdirectory, use {DIRURL}. Changed it for you. Also made it obey the switches. Also changed it to have the images be in templates/images_default with the rest.
Member
Usergroup: Customer
Joined: Oct 13, 2007
Total Topics: 4
Total Comments: 12
Thanks Paul. I've been doing template vb designs for the last couple of years. Having to wrap my mind our and seek out all the conditionals for wsnlink now. But I will prevail.