Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress Theme dev PROBLEM :( css images MIA…

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #44666
    dominick1
    Member

    Hey guys.. I am stumped and i am praying somebody is super smart and can tell me what the heck is wrong. Im developing a theme for wordpress and I’m working locally with mamp and sequel pro. i pretty much just started the wordpress part from static and everything is great BUT some of my images that are in CSS are not showing up. The thing thats weird is that its not like there is a problem with the url because only like 4 are not showing up. the rest are. when i open the inspector in chrome in the console it shows the 4 images in red with an exclamation mark pretty much saying hey these aren’t loading. I cannot figure out why this is happening. could somebody pleaseeeeeee help :(

    THANKS

    #134604
    Alen
    Participant

    How are you referencing the url in your CSS? Can you show us some code? I’m guessing it’s relative path issue.

    #134605
    dominick1
    Member

    yea but thats the thing man im referencing like 5 other things in the same css file..there is other css images that are showing up no problem. its just these 4 pictures. im referencing them the same way as the ones that are showing up.

    background: url(‘../images/header-wood-texture.png’);

    ive tried diff ways too.. when i inspect it in the console it says …
    Failed to load resource: the server responded with a status of 404 (Not Found)

    but they are deff in the images folder. the same images folder other images are fine that are being called in the same stylesheet the same exact way.

    #134607
    dominick1
    Member

    there is no issue in my static version just in the wordpress version but what i dont get is other images are totally cool.

    #134611
    Alen
    Participant

    Did you upload the images via Media Library or did you store the files in your themes folder? Can you double check all files are there? Could this be permission issue?

    #134614
    dominick1
    Member

    i got it..i had broken the header into parts and i was trying to figure out how they weren’t working but others were and i realized the 4 that weren’t had 1 thing in common they were in a parts section and i got rid of that and it worked. idk..weird..thanks for your input though!! :)

    #134615
    Alen
    Participant

    Glad everything’s working.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.