Usergroup: Customer
Joined: Oct 13, 2007
Total Topics: 1
Total Posts: 3
Posted 10/16/07 - 06:58 PM:
#1
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:
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 10/17/07 - 09:32 AM:
#2
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.
Usergroup: Customer
Joined: Oct 13, 2007
Total Topics: 1
Total Posts: 3
Posted 10/18/07 - 07:27 PM:
#3
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.