• Hi, I’m having problems modifying my CSS. I’m editing the files from Sublime Text 2 and uploading them in filezilla. They change in the WordPress editor but they are still not showing up when I launch the webpage.

    I had an old wordpress installed in the same data base, but I’ve already erase it completely (I don’t know if this could have something in relation with my problem).

    Thanks.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Lisa

    (@workingwebsites)

    First Question: Are the files being uploaded?
    Probably, but double check to make sure they’re actually on the server.

    Second Question: Is the theme reading these files?
    Make a significant change to something common (Ex. Change the font colour of an h1 tag.) Upload, have a look.
    If there’s no change, have a look at the code through your browser (‘View Page Source’)
    Look through the code and see if you can find your CSS file.

    Third Question: Is the changes you made just aren’t showing up because of CSS issue?
    It’s easy to make a change and not have it show up because of the nature of CSS. Try making a really simple obvious change to the CSS file and see if it comes up. (h1 tag change)
    If it does, then check the CSS you want to change again.

    Can you please post a link to your site, and describe the element whose CSS you are trying to change?

    Thread Starter noisypope

    (@noisypope)

    I’m using a theme I made myself,I used it before and it worked perfectly.The files are being uploaded to the server, cause if I have a look to the WordPress editor they change also, but if I try to see them in the webpage and they are not showing up, I open the view source code panel and the changes are not there even when they appear in the WordPress editor and in the file I uploaded.

    Thread Starter noisypope

    (@noisypope)

    My site is almost empty, because I just started working in this new site and the problem is there almost since the beginning.

    Lisa

    (@workingwebsites)

    “I open the view source code panel and the changes are not there even when they appear in the WordPress editor and in the file I uploaded.”

    Sounds like the website isn’t reading your files properly. Let’s check that.
    Is the style sheet file you’re uploading referenced in the source code?

    If you see the .css file you uploaded in the source code, open it in your browser and check to see if your changed code is in there.

    (yes, a link to your site and the element would help us)

    Thread Starter noisypope

    (@noisypope)

    Now I’ve just realized that the problem is another, it takes too long to show the changes on the webpage. Any idea why is this happening? If you want the link, is this one: http://noisypope.net/glasswork/

    but I don’t really think you could get any help from there, cause I’ve just started building it and due to this problem I couldn’t do almost anything.

    Thank you very much for your help.

    Lisa

    (@workingwebsites)

    It’s throwing a couple of errors:
    “Failed to load resource: the server responded with a status of 404 (Not Found)
    http://noisypope.net/glasswork/wp-content/themes/Glasswork%20Theme/css/modernizr-2.6.2.min.js

    Can’t find the file. Which is probably causing the next error:
    Uncaught TypeError: $(…).slidesjs is not a function

    As a result, it looks like nothing is coming up on the screen.

    Try getting ‘modernizr-2.6.2.min.js’ file loaded and see if it puts it in a better mood.

    Also, I see ‘modernizr-2.6.2.min.js’ is in the css folder of your site.
    Is that right? Might be the source of some problems.

    Thread Starter noisypope

    (@noisypope)

    I tried even on a localhost and loging out from the wordpress control panel and is still not working.

    Thread Starter noisypope

    (@noisypope)

    That was a mistake. I fixed it but still not working πŸ™

    Thanks a lot

    Thread Starter noisypope

    (@noisypope)

    Also the strange thing is that html is being changed without delay, but js and css don’t.

    Lisa

    (@workingwebsites)

    I don’t see any errors when you load the page, so that’s a good sign.

    As for your site, there’s still no content. Is that correct?

    Thread Starter noisypope

    (@noisypope)

    Yes, I just started working on it.

    I’ve been already working with the same theme I almost a year ago in the same server and it worked perfectly, so I don’t know why is this happening now.

    Lisa

    (@workingwebsites)

    If you add some content now, does it show up properly?

    Thread Starter noisypope

    (@noisypope)

    Yes, It shows it up immediately, even if I change/add something on any HTML file it changes immediately. The only things delaying are the CSS and JS files.

    Thanks for your help

    Lisa

    (@workingwebsites)

    I see it’s still showing the error:

    Failed to load resource: the server responded with a status of 404 (Not Found)
    http://noisypope.net/glasswork/wp-content/themes/Glasswork%20Theme/css/modernizr-2.6.2.min.js

    Because this is a JavaScript error it tends to stop everything in JavaScript until it’s fixed. I suspect that is the problem, we need to fix that error first.

    It can’t find the file, so:

    1) Check to make sure the file is located in the
    /wp-content/themes/Glasswork Theme/css/
    folder.

    2) If it’s not there, either move it into that folder or change your code so it points to the folder it is in.

    See if that helps.

Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘CSS not showing up’ is closed to new replies.