osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

change breadcrumb trail text colour

This is a discussion on change breadcrumb trail text colour within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I want to take the breadcrumb text off the Navigation header bar and have it sit below the grey bar ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-17-2003, 09:02 PM
New Member
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Korsh
Default change breadcrumb trail text colour

I want to take the breadcrumb text off the Navigation header bar and have it sit below the grey bar and restyle it in black text. I have edited the header.php by creating a new table as shown in code below

<table border="0" width="468" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
</tr>
</table>

<table border="0" width="468" cellspacing="0" cellpadding="1">
<tr class="main">
<td "align left" class="main">  <?php echo $breadcrumb->trail(' » '); ?></td>
</tr>
</table>


Only the >> appear in black but not the text I think the text is still white the because the links still work.
I've tried changing the style sheet by creating the following

TR.main {
background: #ffffff;
}
TD.main {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
color: #000000;
}
A.main {
color: #000000;
}
A.main:hover {
color: #000000;
}

any suggestions?

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 09-17-2003, 09:53 PM
New Member
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Korsh
Default

I finally worked out how to do it.

In catalog/includes/classes/breadcrumb.php

There is a class "headerNavigation"

$trail_string .= '<a href="' . $this->_trail[$i]['link'] . '" class="headerNavigation">' . $this->_trail[$i]['title'] . '</a>';

I changed that class to "main"

$trail_string .= '<a href="' . $this->_trail[$i]['link'] . '" class="main">' . $this->_trail[$i]['title'] . '</a>';

That did the trick

Thanks for listening


korsh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
<?php echo $breadcrumb->trail(' &raquo; '); kuzak osCommerce 2.2 Modification Help 2 09-29-2005 09:16 AM
Change text colour for hyperlinks in boxes ChocolateTeapot osCommerce 2.2 Modification Help 1 04-25-2005 11:05 AM
Variables contained in Breadcrumb Trail carab osCommerce 2.2 Modification Help 3 10-17-2004 11:46 AM
Edit Breadcrumb Trail a_sap osCommerce 2.2 Modification Help 1 07-11-2004 07:57 AM
editing breadcrumb trail pedrump osCommerce 2.2 Modification Help 2 05-12-2004 09:40 AM


All times are GMT -8. The time now is 10:05 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax