• Resolved Akleyot

    (@akleyot)


    Hi!

    I am currently having a problem that I am not quite able to fix. If you go to my page blog.yannik.info you will immediately see that my CSS files somehow are not being loaded. This problem only exists in the frontend, the backend is fine.

    What I have done so far:
    – re-installed the theme
    – installed / re-installed the newest update
    – deactivated all plugins
    – checked with developer tools and found out that the CSS files return an error 404

    The problem already existed before I installed the newest update. It might be that it was triggered by a plugin update. But deactivating the plugins won’t help.

    Any leads on what the problem / fix could be?

Viewing 13 replies - 1 through 13 (of 13 total)
  • lisa

    (@contentiskey)

    have you tried a different theme to see if the same result happens?

    Thread Starter Akleyot

    (@akleyot)

    Yes. The same problem occurs with already installed themes and newly downloaded themes.

    lisa

    (@contentiskey)

    can you share a list of which plugins are currently installed and/or activated (I know you said you tried deactivating before)
    is twentytwelve the currently active theme?

    Thread Starter Akleyot

    (@akleyot)

    twentytwelve is the currently active theme. I uninstalled the other ones…

    My plugins are:
    – Akismet by Automattic
    – Captcha by BestWebSoft
    – Contact Form by BestWebSoft
    – Limit Login Attempts by Johan Eenfeldt

    Thread Starter Akleyot

    (@akleyot)

    What I tried and didn’t work:
    I made a backup of my wordpress, deleted everything except for wp-config.php and wp-content, and added everything else from a fresh installation. Still looking the same.
    I rolled back to the backup just to make sure that everything is back to “normal”.

    The site didn’t read your CSS..

    Locate if you’re existing theme has style.css

    If exist,
    Go to header.php and put the code in between with <head> tag
    <link rel=”stylesheet” href=”<?php bloginfo(‘template_url’);?>/style.css”> or
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>”>

    Thread Starter Akleyot

    (@akleyot)

    style.css exists

    I added the first line, switched it with the second one, and tried both at once. Didn’t help ??
    I am looking for the header.php file in the theme folder right? If not then it wouldn’t surprise me that it didn’t work ??

    Thread Starter Akleyot

    (@akleyot)

    If I try to access style.css through the browser then I get a 404. Is this normal or could this be a hint?

    That could be the hint. So mean, the style.css is not found..

    Thread Starter Akleyot

    (@akleyot)

    Yes and no. I can find it in the backend right here:

    /wp-content/themes/twentytwelve/style.css

    does it need to be in another folder?

    Rohil

    (@rohilmistry)

    If you are using twentytwelve thn it is in right place.

    Try to debug it through firbug.As you are saying that it gives 404 error, it means their might be mistake in code or misplaced location.

    Thread Starter Akleyot

    (@akleyot)

    firebug just tells me that it cannot find the files ??

    Is there an easy way to set it up from scratch and then import my current data?

    Thread Starter Akleyot

    (@akleyot)

    I did it!
    That’s going to be really awkward now… The only thing I did was copying the twentytwelve theme from a new installation. I did re-install it through the backend but that didn’t work. Maybe something didn’t get overwritten properly :-/

    Thank you all for your help!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘CSS files won't load’ is closed to new replies.