ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CSS Stylesheet doesn't load

January 21, 2011 9:39am

Subscribe [2]
  • #1 / Jan 21, 2011 9:39am

    Marek123

    11 posts

    Hello.

    I’ve got a ver strange problem. My CSS Stylesheet doesn’t load when my site is loading and Google Chrome doesn’t show this tag in the debug console…. Just in the code itself this tag appears

    <link rel="stylesheet" type="text/css" media="all" href="http://www.kreator-terrorzone.de/ezsite/index.php?css=includes/main_css.v.1295611213" />

    in the debug console.
    I can access the file directly.

    here’s how the template is looking:

    ...
    <link rel="stylesheet" type="text/css" media="all" href="{stylesheet=includes/main_css}" />
    
    </head>

    i also got a .htaccess file to delete the index.php from the url. The file is looking like that:

    RewriteEngine On
    RewriteBase /ezsite/
    RewriteCond $1 !^(images|css|acme|themes|favicon\.ico|robots\.txt|index\.php) [NC]
    RewriteRule ^(.*)$ index.php/$1 [L]


    I really don’t know what to do. 😊 Help! 😊

  • #2 / Jan 21, 2011 10:28am

    Marek123

    11 posts

    Now I removed the index.php properly but this action hasn’t changed anything. I also add the absolute path… like this:

    <link rel="stylesheet" type="text/css" media="all" href="http://www.kreator-terrorzone.de/ezsite/css/kreator_main.css" />

    the CSS is readable and I can access it but Google Chrome doesn’t show it and the stylesheet doesn’t load!

  • #3 / Jan 21, 2011 10:31am

    Marek123

    11 posts

    Problem solved.
    The order of the tag was wrong. The google maps tag messed everything up!

    It’s working! 😊

    **CLOSED

  • #4 / Jan 21, 2011 10:37am

    Ingmar

    29245 posts

    Excellent 😊 Post again as needed, please.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases