X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Custom CSS? (https://forum.x-cart.com/showthread.php?t=61170)

ARW VISIONS 10-10-2011 03:21 PM

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.

ARW VISIONS 10-11-2011 11:42 AM

Re: Custom CSS?
 
this is being rendered from PHP? why are styles being written in the PHP.

qualiteam 10-20-2011 02:18 AM

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


All times are GMT -8. The time now is 11:57 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.