PDA


View Full Version : additional css fields for cmps


MjrGaelic
11-14-2005, 03:41 PM
I know this is like beating a dead horse, I've spent about 3 days searching around and reading but haven't quite found what I'm looking for.

The development site here. (http://www.magiccan.com/cmps_index.php)

As you can see, I'm doing my own thing for the left hand navigation which requires it's own style sheet.

I've gone into admin, added the code I want for the style and no change. Adding " style="color:#c3c3c3; text-decoration:none; " into the href is to limiting as I can't add additional variables like hover, and additional decoration or padding.

What I need to do is get this style in - but where?


.1lnav {
padding-left: 15px;
color: #c3c3c3;
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
}
.1lnav a:link
{
color: #ffffff;
text-decoration: none;
}
.1lnav a:visited
{
color: #ffffff;
text-decoration: none;
}
.1lnav a:active
{
color: #ffffff;
text-decoration: none;
}
.1lnav a:hover
{
color: #000000;
text-decoration: underline;
}


I would love any suggestions and I do appologise if this has been answered elsewhere that I didn't look.

Regards,

Ramses
11-14-2005, 05:46 PM
Sorry I can't help you with that, but please can you tell me how you get the left side looking like it's on your site? Thanks

MjrGaelic
11-14-2005, 07:16 PM
Thats just HTML I put into the header from the admin panel.

Brian
11-15-2005, 01:23 PM
From checking the source of the page your new classes are there, so they should work fine.

MjrGaelic
11-15-2005, 03:07 PM
but they aren't (

Brian
11-15-2005, 03:12 PM
Where are you trying to use them? I don't see any tags using those for the class...

MjrGaelic
11-15-2005, 03:14 PM
This is from the Admin Panel > Style Manager > Header


<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="1lnav" width="180" valign="top" background="http://www.magiccan.com/images/lnavbg.gif" rowspan="2" >

<img border="0" src="http://www.magiccan.com/images/lnavspace.gif" width="180" height="15"><br>
<!-- Nav Bar Elements -->
Nav Menu
<li><a href="http://www.magiccan.com/cmps_index.php">Home</a>
<li><a href="http://www.magiccan.com/forums/index.php">Message Board</a>
<!-- End Nav Elements -->
</td>