• Resolved mrjabbee

    (@mrjabbee)


    hi,

    i’m designing my own theme

    started off with header.php footer.php and index.php

    html comes through

    i then continued on with style.css, made changes and it looks okay off server in dreamweaver, i then sync files, they pass straight through, i verify their content through dashboard > appearance > editor… the style.css exists with all my own css

    however, when i load in browser, css changes are not evident, i check page source and the style.css files is empty, no code at all, just blank.

    this is bothersome without a doubt

    i then check if i can call a new style sheet, i copy paste my css into a new file main.css, same thing, it shows up empty in page source

    i completely remove the link to style.css and leave my main.css… still empty!

    now, what is up with that? solutions anyone?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Could it be a caching issue?
    Can you provide a link to your site please, so we can see?

    Thread Starter mrjabbee

    (@mrjabbee)

    http://www.niikaanstudio.ca

    if this is a caching issue? who is doing the caching, i shift+refresh, i tried 3 different browsers, i looked around my web host (netfirms.ca), couldn’t find any options for resetting cache, haven’t learned anything about wordpress caching

    *edit*

    if it is a caching issue, why isn’t main.css being loaded? when i look at main.css through safari developer extension, the file is empty

    Soe host do cache site. I know that Godaddy does.
    If you tried 3 different browsers, then that’s probably not it.

    I can’t see your site… I only see a coming soon which isn’t a WordPress site.

    I’m guessing that your theme isn’t set up right… or that your not uploading the files on the server at the right spot. It’s hard to say…

    Thread Starter mrjabbee

    (@mrjabbee)

    i have my files loaded here

    domain/wp-content/themes/niikaanstudio

    files currently in folder are:

    header.php
    footer.php
    index.php
    style.css

    folder with files in same location

    [elements folder][code]main.css
    [elements folder][graphics folder]front-page-splash.png

    i called blog name and blog description, that works, so if i call the loop, i know that will work, however the issue is the CSS file

    Thread Starter mrjabbee

    (@mrjabbee)

    safari developer extension comes back with this notice:

    http://www.niikaanstudio.ca/elements/code/main.css
    Failed to load resource: the server responded with a status of 404 (Not Found)

    the style.css is found where your structure points to:
    http://www.niikaanstudio.ca/wp-content/themes/niikaanstudio/style.css

    made changes and it looks okay off server in dreamweaver, i then sync files, they pass straight through, i verify their content through dashboard > appearance > editor… the style.css exists with all my own css

    there is no actual formatting in that style.css

    [elements folder][code]main.css

    what is the meaning of that? how does that fit into your problem?

    there are styles in here:
    http://www.niikaanstudio.ca/wp-content/themes/niikaanstudio/elements/code/main.css

    review the way you are calling the stylesheets (from header.php ?)

    Thread Starter mrjabbee

    (@mrjabbee)

    thank you alchymyth and christine

    i’ll check out my header.php, it’s been awhile since i’ve done this so i must be forgetting something

    Thread Starter mrjabbee

    (@mrjabbee)

    i totally forgot bloginfo()… oh well, i will now remember that for the rest of my life

    thanks for your time people πŸ˜€

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    lol glad you got this sorted πŸ™‚

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘style.css empty’ is closed to new replies.