Forums / Templates, Stylesheets, Page Layout / CSS files are loading twice,normal and minimized,how to solve?

CSS files are loading twice,normal and minimized,how to solve?

Views: 2,723

Results 1 to 8 of 8
27 Mar 2011, 3:46 PM
#1
rimo avatar

rimo

New Zenner

Join Date:
Jan 2011
Posts:
88
Plugin Contributions:
0

CSS files are loading twice,normal and minimized,how to solve?

Hi,

It seems that my CSS files are loading 2 times.

  1. JS loader Minify
  2. Normal CSS

How can we solve this to make sure that my CSS files are loading only 1 time?

Hope you have a solution for this,cause in this way it takes some little more time to load the pages.

Thanks in advance

Richard

27 Mar 2011, 8:13 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: CSS files are loading twice,normal and minimized,how to solve?

Where is the site that has this issue???

Your post is like stating
"I have a problem of xxx, can you guess what the solutions is"

See the Posting FAQ's and provide the required detail to allow assistence to be given
http://www.zen-cart.com/forum/faq.php

Zen-Venom Get Bitten

27 Mar 2011, 8:22 PM
#3
rimo avatar

rimo

New Zenner

Join Date:
Jan 2011
Posts:
88
Plugin Contributions:
0

Re: CSS files are loading twice,normal and minimized,how to solve?

kobra:

Where is the site that has this issue???

Your post is like stating
"I have a problem of xxx, can you guess what the solutions is"

See the Posting FAQ's and provide the required detail to allow assistence to be given
http://www.zen-cart.com/forum/faq.php

Hi,

Really sorry for this,I totally forgot to mention my shop :(

Here it is: http://silvaro.nl

I will also edit my post :wink:

Thanks

27 Mar 2011, 8:24 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: CSS files are loading twice,normal and minimized,how to solve?

As Zen Cart doesn't normally load css minified, you'll also need to explain what changes you made to site to cause this, before we have any chance of offering advice.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Mar 2011, 8:26 PM
#5
rimo avatar

rimo

New Zenner

Join Date:
Jan 2011
Posts:
88
Plugin Contributions:
0

Re: CSS files are loading twice,normal and minimized,how to solve?

kuroi:

As Zen Cart doesn't normally load css minified, you'll also need to explain what changes you made to site to cause this, before we have any chance of offering advice.

I need to tell that I also use the addon CSS/JS Loader.

I have set this to : Enable Minify

27 Mar 2011, 8:49 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: CSS files are loading twice,normal and minimized,how to solve?

I don't think that mod is available from this site, so support for it may be limited. Where did you get it from? And have you tried there for support?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Mar 2011, 9:20 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: CSS files are loading twice,normal and minimized,how to solve?

How can we solve this to make sure that my CSS files are loading only 1 time?
Uninstall the CSS/JS Loader.

Zen-Venom Get Bitten

27 Mar 2011, 10:55 PM
#8
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: CSS files are loading twice,normal and minimized,how to solve?

kobra:

Uninstall the CSS/JS Loader.

Part of the problem might also be in the way you edited the html_header.php file

(includes/templates/YOUR_TEMPLATE/common/html_header.php

This is from a view source of your site. As you can see from the highlight(s) you have two closing </head>

<head>
<title>Silvaro.nl, Unieke sieraden & accessoires voor de beste prijs en service!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="sieraden,accessoires,kindersieraden,sieraden voor kinderen,armbanden,armband,ketting,kettingen,zelfgemaakte sieraden,goedkope sieraden,sieraden webwinkel,unieke sieraden,oorbellen online,kinder oorbellen,sieraden sets,disney sieraden,dames sieraden,heren sieraden,sieraden online,sieraden kopen,jongens sieraden" />
<meta name="description" content="Unieke sieraden & accessoires voor de beste prijs en service!" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="The Zen Cart™ Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com eCommerce" />

<base href="http://silvaro.nl/" />
<link rel="canonical" href="http://silvaro.nl/" />



<link rel="stylesheet" type="text/css" media="print" href="includes/templates/apparel_boutique/css/print_stylesheet.css" />
<link rel="stylesheet" type="text/css" href="/includes/templates/apparel_boutique/css/style_imagehover.css" />
<link rel="stylesheet" type="text/css" href="/includes/templates/apparel_boutique/css/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="/includes/templates/apparel_boutique/css/stylesheet_betterCategoriesEzInfo.css" />
<link rel="stylesheet" type="text/css" href="/includes/templates/apparel_boutique/css/stylesheet_css_buttons.css" />
<link rel="stylesheet" type="text/css" href="/includes/templates/apparel_boutique/css/stylesheet_dotline.css" />
<link rel="stylesheet" type="text/css" href="/includes/templates/apparel_boutique/css/stylesheet_footer_menu.css" />
<link rel="stylesheet" type="text/css" href="/includes/templates/apparel_boutique/css/stylesheet_zen_lightbox.css" />
<script type="text/javascript" src="/includes/templates/apparel_boutique/jscript/jscript_easySlider.js"></script>
<script type="text/javascript" src="/includes/templates/apparel_boutique/jscript/jscript_imagehover.js"></script>
<script type="text/javascript" src="/includes/templates/apparel_boutique/jscript/jscript_jquery.js"></script>
</head>


<link rel="stylesheet" type="text/css" href="includes/templates/apparel_boutique/css/style_imagehover.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/apparel_boutique/css/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/apparel_boutique/css/stylesheet_betterCategoriesEzInfo.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/apparel_boutique/css/stylesheet_css_buttons.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/apparel_boutique/css/stylesheet_dotline.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/apparel_boutique/css/stylesheet_footer_menu.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/apparel_boutique/css/stylesheet_zen_lightbox.css" />
<link rel="stylesheet" type="text/css" media="print" href="includes/templates/apparel_boutique/css/print_stylesheet.css" />
<script type="text/javascript" src="includes/templates/apparel_boutique/jscript/jscript_easySlider.js"></script>
<script type="text/javascript" src="includes/templates/apparel_boutique/jscript/jscript_imagehover.js"></script>
<script type="text/javascript" src="includes/templates/apparel_boutique/jscript/jscript_jquery.js"></script>
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/apparel_boutique/css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/apparel_boutique/css/ie7.css" /><![endif]-->
</head>

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.