Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to change link color <a> in shopping_cart.php


marcus76

Recommended Posts

Hi,

 

This is killing me - i've tried everything. All i want to do is change the color of the links in the shopping_cart.php box.

 

I have the following stylesheet entries:

 

.diddy A:link {text-decoration: none}

.diddy A:visited {text-decoration: none}

.diddy A:active {text-decoration: none}

.diddy A:hover {text-decoration: underline; color: red;}

 

The PHP code i'm attempting to apply this style to:

 

$info_box_contents[] = array('align' => 'left',

'text' =>

'<a class="diddy" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' .

 

Bit it doesn't work!!! any ideas?

 

Kind Regards

 

Marcus

Link to comment
Share on other sites

what is "a class" "</a>" i am not 100% sure but i dont think that is correct

 

you would need it to be <class="diddy"

 

then in your stylesheet creat a class for both rollover and none rollover apperances

Link to comment
Share on other sites

what is "a class" "</a>"  i am not 100% sure but i dont think that is correct

 

you would need it to be <class="diddy"

 

then in your stylesheet creat a class for both rollover and none rollover apperances

 

 

ah ha - ok, i'll give that a try tonight.

 

Thanks for the heads up.

Link to comment
Share on other sites

'<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '" class="diddy" >' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' .

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

'<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '" class="diddy" >' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' .

 

 

nope, that's didn't work!! arrrgh!!

 

i've got :

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' =>

'<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"class="black-hyperlink" >' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' .

 

still no change...any other ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...