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

Custom CSS?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-10-2011, 03:21 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Custom CSS?

This code is in the bottom of service.css
{if $custom_styles}
{load_defer file="css/custom_styles" direct_info=$custom_styles type="css"}
{/if}

It causing an issue in my template with detailed image thumbs.

<style type="text/css"> <!-- .dpimages-icons-box {width: 164px; } .dpimages-icons-box a, .dpimages-icons-box a:link, .dpimages-icons-box a:visited, .dpimages-icons-box a:hover, .dpimages-icons-box a:active {width: 78px; height: 54px; } --> </style>

where is this generated from, and why??? Seems like a comment would be nice to let me know what template or file to edit to get rid of this.
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 10-11-2011, 11:42 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Custom CSS?

this is being rendered from PHP? why are styles being written in the PHP.
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
cherie (10-19-2011)
  #3  
Old 10-20-2011, 02:18 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Custom CSS?

There are "CSS and JavaScript optimization tools" in the latest version.

They can be disabled on the "General settings" -> "General Options" page.

http://help.qtmsoft.com/index.php?title=X-Cart:General_Options#CSS_and_JavaScript_optimizati on_tools
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
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:10 AM.

   

 
X-Cart forums © 2001-2020