• I decided to start learning WordPress 5 days ago. In 2 days I understood the coding and how to implement it into my design. Now, as I’m experimenting with different areas of a WordPress theme from scratch, some issues are rising. The main issue being my CSS.

    At this stage, my stylesheet is simply a rough copy of what I want it to be. There’s no colours or additional styling. At this moment, I’m simply look at the three main things: background color, background image repeat x and background image repeat y.

    The body is as so, with a color to test and the bg-x I wish to use.

    body{
    margin:0;
    padding:0;
    background: #000000 url('images/bg-x.jpg') repeat-x;
    text-align:center;
    font-family: Helvetica, "Georgia", Arial;
    font-size:10px;
    color: #696b46;
    }

    Now, the “wrapper” or “mainwebdesign” is as so:

    #mainwebdesign{
    width: 1181px;
    margin: 0 auto;
    text-align:justify;
    position:relative;
    background: url('images/bg-y.jpg') repeat-y;
    }

    I have an additional image. It is the header image, which is placed in the header.php file.

    <body>
    <div id="mainwebdesign">
    <div id="header"><img src="http://avatardestinyportal.com/wordpress/wp-content/themes/adpversion1/images/header.jpg" border="0" /></div>

    This is all very rough. But on my live test view, I only see the header image: at this link.

    The entire style-sheet is completely rough. But, I’m not going to get all fancy and pretty with it until I figure out why I cant at LEAST see the background colour, or both bg-repeatx/repeaty files.

    I’ve been stressing over this for 3 days now. I’m about ready to give up. This is my last shot. It seriously would mean so much if someone or a few others would dedicate their time to helping me fix this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I hope you forgive yourself for this simple mistake that caused you 3 days… It happens to the best of us!

    /*
    Theme Name: Avatar Destiny Portal
    Theme URI: http://avatardestinyportal.com
    Description: return theme for ADP
    Version: 1.0
    Author: KiKi Mokina
    Author URI: http://99writtenwords.avatardestinyportal.com
    /*

    The comment block is not properly closed. The end should be */instead of /*.

    Thread Starter Wendy Beckham

    (@kiki-mokina)

    Wow…I need to activate the other half of my brain. You saved my life. I started redoing my site w/o wordpress. But, thank you so much. In my next site design, this mistake will not occur. Ugh! ;D

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Background Images, Colour CSS Not Loading. What's wrong????’ is closed to new replies.