Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Dual CSS SKins?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-23-2005, 11:47 AM
 
gfmedia gfmedia is offline
 

Member
  
Join Date: Jun 2005
Posts: 11
 

Default Dual CSS SKins?

Is it possible to have different .css files called on the same page? I have been trying to do this and one will cancel the other out. basically have one module calling a certain css file instead of another so as to not get wires crossed.
__________________
4.0.13 /windows xp
Reply With Quote
  #2  
Old 08-23-2005, 11:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Not recommended. Why not just include them all in one?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-23-2005, 09:12 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

It is possible and it is working without any problem. What we do is we have 5 different skins and all are scheduled at certain periods. For example, skin1.css is working from aug-dec. skin2.css is effective from dec-jan like this they are scheduled and they are automatically changed when the scheduled period comes. The schedule is done at admin part.
Reply With Quote
  #4  
Old 08-24-2005, 03:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I think we are talking about two different things. It is certainly possible to use {if} statements to call different stylesheets, but what I'm saying is you shouldn't have two active stylesheets on the same page.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-24-2005, 05:17 AM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

Quote:
Originally Posted by balinor
I think we are talking about two different things. It is certainly possible to use {if} statements to call different stylesheets, but what I'm saying is you shouldn't have two active stylesheets on the same page.

Misunderstood. We should't set 2 skins active at one time.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:19 PM.

   

 
X-Cart forums © 2001-2020