Forums / Setup & design / CSS stylesheet is not being used

CSS stylesheet is not being used

Author Message

Alexander Celle

Tuesday 22 June 2004 6:20:57 am

Hi, I need some help. I recently upgraded from 3.3 to 3.4 and now my stylesheet is not being used.

You can check the problem on site http://www.ppp.cl/. If you look at the source code you will see that the stylesheet http://www.ppp.cl/design/ppp/stylesheets/ppp.css is being invoked but believe me it is not being used as some of the text on the light blue left section should be in bold.

BTW, you can fetch the css directly from the browser because I had to comment the <FilesMatch "."> because it wasn't redicecting to the DirectoryIndex for some reason (that is another problem I have)

Please help, thanks.

Alex Jones

Tuesday 22 June 2004 6:57:39 am

Hi Alexander. I took a look at your page and the CSS. I believe the style sheet is actually being pulled. It appears that the problem resides in the size and color of the text in your side bar. It is so small that it is really hard to tell the difference between test that is bold and text that is not bold. When I increased the font size in my browser (Firefox on Windows XP), the text "Dirección:", "Dirección postal:", "Teléfono:" and "Fax:" appeared to be bold. As the font sizes are using pixels instead of relative sizing, IE cannot change their size dynamically, so you will have to use Opera, or a Mozilla based browser to see what I am talking about.

If you don't have a non-IE browser, you can test this theory by adding the following code to your ppp.css file:

.ppp-menu b {
  color: #f00;
  font-size: 15px;
}

That should produce a very noticeable difference.

If that doesn't work, let us know and we'll see what else we can do to help.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alexander Celle

Tuesday 22 June 2004 8:38:44 am

I guess you were right. Thanks for that, I'll just have to work on my design then.

Anyway... do you know anything about the second part? (i.e. the FilesMatch issue)

Thanks again.

Alex Jones

Tuesday 22 June 2004 8:48:09 am

Actually, I'm not sure that I understand the second problem. Could you provide a littie more information? Are you saying that the system can't find your CSS file if you use eZ code? If so, would you cut and past the non-working code in this post?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alexander Celle

Tuesday 22 June 2004 10:30:14 am

The second problem regards the .htaccess file.

there I had to remove the <FilesMatch "."> because it wasn't redicecting to the DirectoryIndex (index.php) for some reason.

So, if I did http://www.ppp.cl I would get a forbidden instead of the index.php

Thanks

Chris Fullerton

Tuesday 22 June 2004 7:59:35 pm

Not related to this problem, but I've found that the Web Developer extension for firefox is very helpful for debugging css issues.

You can find it at http://www.chrispederick.com/work/firefox/webdeveloper/

No relation, etc just a very happy user.

Alex Jones

Wednesday 23 June 2004 8:07:53 am

Alexander: which setup option did you choose when you installed eZ publish? Also, could you post the contents of your .htaccess file?

Chris: I agree wholeheartedly, I actually used the extension to help diagnose Alexander's problem. :) Ctrl + Shift + E is a beautiful thing.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

eZ debug

Timing: Jan 18 2025 19:02:06
Script start
Timing: Jan 18 2025 19:02:06
Module start 'content'
Timing: Jan 18 2025 19:02:07
Module end 'content'
Timing: Jan 18 2025 19:02:07
Script end

Main resources:

Total runtime1.1132 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.8672180.8281
Module start 'content' 0.00560.8564 769.6953616.0781
Module end 'content' 0.86190.2512 1,385.7734341.0859
Script end 1.1131  1,726.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.4081210.0002
Check MTime0.00170.1524210.0001
Mysql Total
Database connection0.00090.084510.0009
Mysqli_queries0.989088.84152080.0048
Looping result0.00260.23382060.0000
Template Total1.081997.220.5410
Template load0.00230.207720.0012
Template processing1.079696.980220.5398
Template load and register function0.00010.010810.0001
states
state_id_array0.00110.094410.0011
state_identifier_array0.00070.065820.0004
Override
Cache load0.00190.1749370.0001
Sytem overhead
Fetch class attribute can translate value0.00260.235140.0007
Fetch class attribute name0.00110.094580.0001
XML
Image XML parsing0.00110.100940.0003
class_abstraction
Instantiating content class attribute0.00000.0021100.0000
General
dbfile0.02792.5074270.0010
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs