Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Stylesheet not working for product pages!


5 replies to this topic

#1 ditium

  • Community Member
  • 18 posts
  • Real Name:Ivy Tan

Posted 04 December 2003, 09:23

My index and product listing pages have gone berzerk and the stylesheet doesn't seem to be applying to them! Other pages look fine and I can't figure out what is wrong! I recently set up a contribution that allows me to display my product listing on the main page but I when I undid the changes for the contribution, my pages remained the same. Would really appreciate any help!!

#2 crash3903

  • Community Member
  • 1,822 posts
  • Real Name:Mark Reynolds
  • Location:United Kingdom

Posted 04 December 2003, 09:41

have a look at the html tags for the style sheet - I bet it says something like 'file://yourdesktop/yourfilename/stylesheet.css' and also you may have the same error on the ssl line

post your code so we can see it int he relevant pages

regards

mark
Regards

Mark A Reynolds

#3 ditium

  • Community Member
  • 18 posts
  • Real Name:Ivy Tan

Posted 04 December 2003, 10:12

Mark,

You're a GENIUS. I just took a look at my /catalog/index.php page and saw the following lines:

<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 == 'file:///Z|/ivy/shopping%20cart/SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="file:///Z|/ivy/shopping%20cart/stylesheet.css">
</head>

What should I change it to?

#4 crash3903

  • Community Member
  • 1,822 posts
  • Real Name:Mark Reynolds
  • Location:United Kingdom

Posted 04 December 2003, 10:35

take everything out of the following line so you just have the stylesheet.css

Quote

href="file:///Z|/ivy/shopping%20cart/stylesheet.css">

so it should look like this

Quote

href="stylesheet.css">

regards

mark
Regards

Mark A Reynolds

#5 ditium

  • Community Member
  • 18 posts
  • Real Name:Ivy Tan

Posted 05 December 2003, 04:52

Thanks a mil! My index and product pages are fixed. You're a life saver!

#6 crash3903

  • Community Member
  • 1,822 posts
  • Real Name:Mark Reynolds
  • Location:United Kingdom

Posted 05 December 2003, 08:27

your welcome

regards

mark
Regards

Mark A Reynolds