Where do I modify anchor colors for {NAV_ROW}?
Where do I modify anchor colors for {NAV_ROW}?
I haven't been able to find the CSS that controls the {NAV_ROW} text color yet and wondered if anyone else knew where it was.
while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
hello
look in the standard.css
look in the standard.css
Code: Select all
a, a:link, a:visited, a:active {
color: #FFffff;
text-decoration: none
}
a:hover {
color: #FF3300;
text-decoration: underline;
-
- Posts: 21
- Joined: Fri 5. Mar 2004, 07:32
I think what you are looking for is here:
include/inc_conf/conf.template_default.inc.php

include/inc_conf/conf.template_default.inc.php

Last edited by sayitfast1 on Sat 8. May 2004, 09:46, edited 1 time in total.
hello colech
i test it before i post it!
and ou have also in the include/inc_conf/conf.template_default.inc.php
the following lines
i test it before i post it!

and ou have also in the include/inc_conf/conf.template_default.inc.php
the following lines
Code: Select all
// row based navigation
$template_default["nav_row"]["before"] = '';
$template_default["nav_row"]["after"] = '';
$template_default["nav_row"]["between"] = ' | ';
$template_default["nav_row"]["link_before"] = '';
$template_default["nav_row"]["link_after"] = '';
$template_default["nav_row"]["link_before_active"] = '<span style="text-decoration:none;font-weight:bold;">';
$template_default["nav_row"]["link_after_active"] = '</span>';
I found this as an exmple Oliver gave on how to modify NAV_ROW:
...BUT I want to stick to DIV/CSS if possible. I tried the following with the CSS placed before the php content in conf.template_default.inc.php. Where should I be placing my CSS? I know it shouldn't go in conf.template_default.inc.php but where does it go then? AND is there a better way to change the menu anchor attributes of the NAV_ROW menu altogether?
Code: Select all
// row based navigation
$template_default["nav_row"]["before"] = '<table cellspacing="0" cellpadding="3" border="0" bgcolor="#FFFFFF"><tr>';
$template_default["nav_row"]["after"] = '</tr></table>';
$template_default["nav_row"]["between"] = "\n";
$template_default["nav_row"]["link_before"] = '<td>';
$template_default["nav_row"]["link_after"] = '</td>';
$template_default["nav_row"]["link_before_active"] = '<td bgcolor="#DDDDDD" style="text-decoration:none;font-weight:bold">';
$template_default["nav_row"]["link_after_active"] = '</td>';
Code: Select all
// row based navigation
$template_default["nav_row"]["before"] = '<div id="nav_row_div" style="color:#DCCEBA; display:inline; font-weight:bold">';
$template_default["nav_row"]["after"] = '</div>';
$template_default["nav_row"]["between"] = ' ';
$template_default["nav_row"]["link_before"] = '<div id="nav_row_div" style="display:inline; display:inline; color:#DCCEBA;">';
$template_default["nav_row"]["link_after"] = '</div>';
$template_default["nav_row"]["link_before_active"] = '<div id="nav_row_div" style="color:#DCCEBA; display:inline; text-decoration:none; font-weight:bold">';
$template_default["nav_row"]["link_after_active"] = '</div>';
Code: Select all
<style type="text/css" media="all">
div#nav_row_div a:link {color: #DCCEBA}
div#nav_row_div a:active {color: #DCCEBA}
div#nav_row_div a:visited {color: #DCCEBA}
div#nav_row_div a:hover {color: #FF9900}
</style>
while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
I have made a few replacement tags that will give you control over such things as font/size/colour and class for most content text including {NAV_ROW} as well as image captions etc.
http://www.phpwcms.de/forum/viewtopic.php?t=1876
note: I know NAV_TABLE_COLUMN is excluded and will test others soon.
http://www.phpwcms.de/forum/viewtopic.php?t=1876
note: I know NAV_TABLE_COLUMN is excluded and will test others soon.
You RULE pSouper! I'll check that out.pSouper wrote:I have made a few replacement tags that will give you control over such things as font/size/colour and class for most content text including {NAV_ROW} as well as image captions etc.
http://www.phpwcms.de/forum/viewtopic.php?t=1876
note: I know NAV_TABLE_COLUMN is excluded and will test others soon.
while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
thanks, but i don't rule anthing but the TV remote control (only when the wife is out of course).
These rep tags were quicker to write than to post
These rep tags were quicker to write than to post

Last edited by pSouper on Sun 9. May 2004, 22:23, edited 1 time in total.
I'm just watching and learning. (Talking about the code... not the remote. I must stay AWAY from the remote
) It's 3:09am for me right now and I'm still going strong. For those of us new to the field we have to do double duty if you know what I mean. Catch ya later!

while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
- Oliver Georgi
- Site Admin
- Posts: 9918
- Joined: Fri 3. Oct 2003, 22:22
- Contact: