Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Border Issue


osclover

Recommended Posts

Posted

My site is using the fixed width contribution. I want the outer border to be displayed on the main page (index.php page) only. I don't want it on the other pages. What should i do ?

Posted
My site is using the fixed width contribution. I want the outer border to be displayed on the main page (index.php page) only. I don't want it on the other pages. What should i do ?

 

 

Easy have 2 stylesheets.... 1 for the index and 1 for the rest of the site....

Posted

Sound nice but can you please tell me in detail as to how to have 2 style sheets. How would I 'connect' the two stylesheets with the different pages?

Posted
Sound nice but can you please tell me in detail as to how to have 2 style sheets. How would I 'connect' the two stylesheets with the different pages?

 

 

In about every .php file in your main shop folder there is a reference to which stylesheet to use..

 

it looks like this....

 

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

 

if you want one file to use a different stylesheet than the rest...

 

1. make a new stylesheet with a new name , like for instance: stylesheet2.css

 

2. then you change the stylesheet ref in the file you want to use this new stylesheet, like so:

 

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

 

 

Thats it.....

Posted

Ok I had figured it out. But my problem is different. As you know the one single php file index.php file displays various different pages. Examples:

 

http://127.0.0.1/2006/feb/woc/woc1/index.php

[shows the main page]

 

 

http://localhost/2006/feb/woc/woc1/index.p...3c44213df8956c4

[shows one category]

 

 

http://localhost/2006/feb/woc/woc1/index.p...3c44213df8956c4

[shows a subcategory page of that category which was selected above]

 

Now my problem is that all these pages coding is in the SAME index php file and all are linked to the SAME stylesheet. How can I link the first url (http://localhost/2006/feb/mwb/mwb1/index.php) to a different stylesheet say stylesheet2.css?

Archived

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

×
×
  • Create New...