[Solved] Order of style sheets?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
colinmcc
Forum Members
Forum Members
Posts: 11
Joined: Fri Oct 29, 2010 12:06 am

[Solved] Order of style sheets?

Post by colinmcc »

When attaching more than one style sheet, I want them in a particular order so that the Cascade effect works. I can 'attach' style sheets, but can't see how to order them as I want in the resulting html.

Any thoughts please?

Thank you.
Last edited by colinmcc on Tue Jun 28, 2011 10:56 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Order of style sheets?

Post by calguy1000 »

Under Layout >> Templates click on the 'css' icon for the template that you want to manipulate.. there you can manage all of the attached stylesheets. Including their order.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
colinmcc
Forum Members
Forum Members
Posts: 11
Joined: Fri Oct 29, 2010 12:06 am

Re: Order of style sheets?

Post by colinmcc »

Many thanks! I had a small style sheet with just font and background colors so I could make changes in a small file. Obviously this had to be the last in the cascade and I wasn't getting the result I wanted, ie over-riding the main CSS's definition of the same items. Now, with the order correct I am!

How's the Summer in Fernie? Feels like fall in Whistler! ;)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [Solved] Order of style sheets?

Post by calguy1000 »

Well, summer is following the rules this year... we just started this week. The rivers are still uber high, and there's still lots of snow in the mountains... 4x4ing is kinda out for a while.

But... with this mail strike over with I may just get my laptop delivered in time to enjoy some of it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”