Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to work wuth dual css


Recommended Posts

Hello, I have an oscommerce website in two languages: hebrew and english. I want to change the CSS stylesheet only for one language, and I saw the CSS file is the same for both languages. Is there any solution for this? Thank you in advance

Link to comment
Share on other sites

In the <head> section of all the pages change:


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

To something like:


 if ( $language == 'en' ) {
<link rel="stylesheet" type="text/css" href="english.css">
 } else {
<link rel="stylesheet" type="text/css" href="hebrew.css">

Look in my signature about making backups...


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites


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

  • Create New...