• I have converted an html template to WordPress (PHP) and everything works fine except the images for my theme aren’t showing up. They are located in the /images folder under my theme’s root directory.

    Any suggestions are much appreciated…

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    The relative image path in the CSS or HTML might be not right, for example if this doesn’t work

    background: #f4f3f3 url(/images/about-me-blog.jpg);

    But it might work if it’s this instead (less the leading /)

    background: #f4f3f3 url(images/about-me-blog.jpg);

    Or it could be something else entirely, a link would help. ??

    Thread Starter jackscotty

    (@jackscotty)

    thanks, it’s actually url(../images/blahblah.png) right now so I’ll try that. I’ll take the leading ‘..’ and the ‘/’ out.

    Thread Starter jackscotty

    (@jackscotty)

    Yes! You have no idea everything I’ve tried over the past few days and something so little as this was the solution. It seems more and more often that is the case in debugging my web dev endeavors.

    None the less, you are a savior Jan! Haha, thank you times a thousand!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Glad to help.

    Could you mark this one resolved? I collect resolved threads for trading at the next game card meetup. ??

    Thread Starter jackscotty

    (@jackscotty)

    Sure, how do I do that exactly? And I’m curious… what is this game card meetup all about?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Huh. It’s been an age since I’ve started a thread… Look on the right column of this thread, I think it’s there somewhere.

    what is this game card meetup all about?

    There are WordPress meetups, but I was making a joke about kids and trading cards. ??

    Thread Starter jackscotty

    (@jackscotty)

    Ha okay I see. There is nothing that I see anywhere on this thread, however, to mark it as resolved. I also checked on my profile… no luck.

    Thread Starter jackscotty

    (@jackscotty)

    I’ve got another little nagging problem that maybe you could help me with. There is a small margin of space between the top of my page and where the header begins, as well as between the bottom of my page and where the footer ends. Not sure what is causing this…

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Sounds like a CSS issue, try getting the Firebug extension to sort it out.

    When you Inspect Element with Firebug you can play with the CSS and literally see what’s going on.

    I want to convert html to wordpress. How did you do that. May you tell the process? and what is your site url?

    Thread Starter jackscotty

    (@jackscotty)

    Hi pet1866,

    The process can be either very difficult or quite simple depending on the complexity of the html theme you are working with. In simplest form, the index.html file needs to be split into sections and saved as .php files (header.php, index.php – main content, sidebar.php, footer.php, etc.). Also, the folder heirarchy has a specific setup as well.

    For starters, check out this tutorial by Drew Strojny for a more detailed explanation: https://thethemefoundry.com/blog/html-wordpress/

    My site is jackscotty.com and my wordpress blog is located at jackscotty.com/blog. My blog is still going through the conversion process as you will notice.

    I am here for further assistance if need be.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘My blog isn't displaying the images from my stylesheet’ is closed to new replies.