Control the order of the CSS links

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
boycec
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Tue Aug 12, 2008 4:54 pm

Control the order of the CSS links

Post by boycec » Sat Sep 13, 2008 3:16 pm

I have a CSS template that is made up of several other external css files. The importing of these external files are controlled by the main CSS file.

The AC frame work is automatically loading all the external CSS files it finds in my Theme directory. The order that it loads them causes problems with my layout.

Is there any way to control the order or better yet, tell the framework to not automatically load every CSS file it finds?

My plan B is to merge all my external files into one big main file, but I would like to avoid that if I could.

Thanks

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Control the order of the CSS links

Post by jmestep » Sat Sep 13, 2008 5:14 pm

It looks like .net loads the ones in the Themes folder alphabetically by default.
http://forums.asp.net/p/920874/1058148.aspx#1058148
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

boycec
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Tue Aug 12, 2008 4:54 pm

Re: Control the order of the CSS links

Post by boycec » Sun Sep 14, 2008 12:10 am

Thanks for the link

Post Reply