Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Font colour of cart and other tep_href_link boxes


Sticcino

Recommended Posts

Hello,

 

this is driving me nuts... I want to change the text colour of the headers to black for my boxes which I did, but for any box that is a tep_href_link() type, the colour stays WHITE.

 

For the love of PHP, I;ve debugged step through, but cannot find out where i set the color to be black for this .

 

 

so:

$data = '<div class="ui-widget infoBoxContainer">' .

' <div class="ui-widget-header infoBoxHeading"><a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . MODULE_BOXES_SHOPPING_CART_BOX_TITLE . '</a></div>' . <<<<<<<<============== WHITE TEXT

' ' . $cart_contents_string .

'</div>';

 

if i remove the href line, the text turns BLACK, i want the link active because some of the other box types have links, so i would like this to apply to everything, not just a hack in the cart box.

 

 

can someone shed some light on this.

 

Thanks,

Johnny.

Link to comment
Share on other sites

You can also control this manually. To your file stylesheet.css add

 

#columnLeft .ui-widget-header, #columnLeft .ui-widget-header a, #columnRight .ui-widget-header, #columnRight .ui-widget-header a{color:#f00}

 

Links and plain text of infobox headings will all get he same color

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...