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

css optimization

 
Reply
   X-Cart forums > X-Cart 4 > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-29-2008, 08:22 PM
 
jholley jholley is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 66
 

Default css optimization

I am trying to optimize some of the css in our 4.2 installation.
Unfortunately I am somehow confusing myself on the best way to do this.

Here is an example of what I am trying to change.

.printable #header .tabs {
display: none;
}
.printable #header .line2 {
display: none;
}
.printable #header .printable {
display: none;
}

Will this work the same way if I change it to this:


.printable #header .tabs, .line2, .printable {
display: none;
}

I obviously don't want to cause a bunch of problems.

Thanks in advance for any help.
__________________
Joe Holley
4.2
Reply With Quote
  #2  
Old 12-30-2008, 02:01 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: css optimization

As far as i know you code might not function properly, form the knowledge i gained
you can change only as follows
.printable #header .tabs,
.printable #header .line2,
.printable #header .printable {
display: none;
}

I havent tried this yet but i tihnk this will work out ,give it a try and give me your comments
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:03 PM.

   

 
X-Cart forums © 2001-2020