• i finished building this blog and went to make it live here and the site works beautifully in Opera, Safari and IE but, in Firefox, everything is broken. The styles are gone from both the front and back end and the admin area is completely useless.

    Does anyone have any idea what could cause this? The code is completely unchanged, and I used a fresh download of WordPress for the install.

    Any help is greatly appreciated as I am still new to coding for WordPress.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mifa

    (@mifa)

    It is there, it is at http://novocounsel.com/wp-content/themes/novo/scripts/navbar.js, (all it is there for is to get the dropdowns to work in IE6).

    Check your header.php. According to the page source:

    <script type="text/javascript" src="/scripts/navbar.js"></script>

    So Firefox is (correctly) trying to locate the file at:

    http://novocounsel.com/scripts/navbar.js

    In header.php. it should be:

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/navbar.js"></script>

    The CSS files are all present but Firefix simply isn’t picking them up – which makes me wonder if CSS isn’t being served correctly.

    Thread Starter mifa

    (@mifa)

    ok, one coding error fixed…thanks! but, it is still broken.

    what do you mean being served correctly? would that be a coding error or a server error? (sorry, i am a design intern and i am still learning all this web stuff, and i know there have been bunches of issues with the hosting company, but if it is his problem, I need to know for sure).

    So, if you have any further insight, I would appreciate it, but thanks for everything so far!

    Server error, I think.

    Aha! style.css is being served as text/html instead of text/css. I’ve not checked the other style sheets but I bet they’re being served incorrectly too. You might be able to deal with this at theme level. Try amending the calls to your stylesheets as follows:

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen"/>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/navbar.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/sidebar.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/post.css" media="screen"/>

    If that doesn’t work, it needs sorting at server level.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘my site died when i moved from one host to another’ is closed to new replies.