Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need HELP with Stylesheet


Guest

Recommended Posts

Posted

I have a dark background, but the roll over effects are white on white text in the checkout_shipping.php and checkout_payment.php forms. I have tried changing the .moduleRowOver and .moduleRowSelected but the changes do not take effect.

 

Please help. I have customers ditching their carts I think because of this.

Posted

it depends.. Is it on text that was added by a module?? If not, it might be other text. What style or class does the code call for?

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted
it depends.. Is it on text that was added by a module?? If not, it might be other text. What style or class does the code call for?
Posted

The entire rown is highlighting in the Checkout Shipping & Payment pages. The code for the Shipping page is below.

 

// method if more than one module is now enabled

if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest();

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SHIPPING);

 

$breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

$breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

<script language="javascript"><!--

var selected;

 

function selectRowEffect(object, buttonSelect) {

if (!selected) {

if (document.getElementById) {

selected = document.getElementById('defaultSelected');

} else {

selected = document.all['defaultSelected'];

}

}

 

if (selected) selected.className = 'moduleRow';

object.className = 'moduleRowSelected';

selected = object;

Posted

Open your page in FireFox, if you don't have FireFox download it here. http://www.mozilla.com/en-US/firefox/?utm_...aign=postlaunch

 

Then open your page in the bowser highlight the section that has the dark background and light text then right click and choose View Selection Source. You will find the section with the css class that you need to make color changes in your style sheet.

 

You can also use a color picker to locate the color codes and then search your style sheet for that color and make the proper color change there.

Archived

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

×
×
  • Create New...