Welcome, Guest
Please Login or Register.    Lost Password?

css ordering in pattern bear
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: css ordering in pattern bear
#1005
css ordering in pattern bear 3 Years, 10 Months ago Karma: 2
I think - but I'm not sure that something is out of order on the default html page.

It looks like the pattern bear css file is loaded last... thus over-riding any other components css sheets.

I may be completely off base here... but here's why I think that... and someone can tell me if I'm incorrect.

When I go to edit CSS using nifty FF Web Developer Toolbar, the comp css is shown first and template.css is second. At the same time if I just do a good ol' fashion view page source, it shows comp css load and then template's css.

I'm going on a limb and guessing the below is the cause...

Code:


<jdoc:include type="head" />
<meta http-equiv="Content-Type"  content="text/html; <?php echo _ISO; ? >" />



when I move that code to after the template css link line in the default html... the css sheets load up differently in the web developer toolbar... and the view page source looks to show the correct ordering.

Am I seeing this correctly or just spinning my wheels?

Thanks,
Graydon<br><br>Post edited by: graydon, at: 2008/07/18 09:04
graydon
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1138
Re:css ordering in pattern bear 3 Years, 8 Months ago Karma: 12
Yip you're right there. The template css does over write the components css. But because components can be run on multiple templates over different sites you want the template css to over write the components css. This in effect makes them 'cross template compatible' :)

Is there a particular issue with the template and a component?
Bambi
Moderator
Posts: 343
graphgraph
User Offline Click here to see the profile of this user
Gender: Male bambii7@msn.com Location: New Zealand Birthday: 12/21
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Support
 
JOOMLA TEMPLATES Joomla Templates By JoomlaBear