Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mirichanchi

    (@mirichanchi)

    EDIT: Sorry, problem fixed.

    You’re linking to the stylesheet incorrectly. The actual location of your stylesheet (if you’d hard-coded it) is http://www.yoursite.com/wordpress/wp-content/themes/themename/style.css. However, when the site is pulled up, it sees the location as http://www.yoursite.com/wordpress/styles.css – which, of course, is not there.

    You need to replace your stylesheet call with this:

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" style="text/css">

    and that should do it.

    Let’s hope someone brighter than I wanders by now. You’ve done an excellent job of asking a question that I just have no knowledge on how to answer!

    I gotta say, now that you’ve mastered your The_Loop – fu, you’re most of the way towards having your own WP theme. If you took it the rest of the way… and treated it as a theme, it might actually be easier. Maybe?

    Just in case you didn’t see these: Theme_Development is pretty decent and has some great links under “References” towards the bottom.

    Thread Starter mirichanchi

    (@mirichanchi)

    Yeah, this is really a bit of trouble trying to lump WordPress and a regular HTML design together, but I’m going to try it XD

    Just one more quick question, and then I should be well on my way. How should I assign a CSS class to my title?

    Index.php:
    <?php the_title('&nbsp; <img src="/blog/images/phead.gif"> ', '...', 'display'); ?><br>

    Style.css:
    .title
    {font-size: 16px; color:#c4577e;
    letter-spacing:1px;word-spacing:0px;
    line-height: 12px; font-family: Georgia;
    font-style: italic; font-weight: bold; text-align:left;
    marign: 0px; cursor: default;}

    However, whenever the title displays it does not use these parameters I set up for it. I am positive I’m doing something wrong and probably missing something very blatant and in my face.

    Something like this maybe?

    <span class="title">
    <?php the_title('&nbsp; <img src="/blog/images/phead.gif"> ', '...', TRUE); ?>
    </span>
    <br />

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

The topic ‘Turning DIV layer HTML design into theme’ is closed to new replies.