WordPress.org

Forums

Changing Header from local drive (2 posts)

  1. sportsjuana
    Member
    Posted 7 years ago #

    I was wondering if anyone knew how to make your images show up if you are just testing your website on your own harddrive. I have wordpress installed to my C drive and want to add my header. I just don't know why it wont show up. Is there some code I should have here is what I got.

    THIS IS MY INDEX.php

    <div id="header">

    <div id="headerimg">
    <h1>/"><?php bloginfo('name'); ?></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    </div>

    <p>
    <img border="0" src="../../My%20Documents/My%20Pictures/light blue banner.jpg" width="680" height="250"></p>

    </div>


    THIS IS MY CSS

    #header {
    background-image: url(../../My%20Documents/My%20Pictures/light%20blue%20banner.jpg);
    color: white;
    font-style: italic;
    font-variant: small-caps;
    font-weight: bold;
    font-size: 10px;
    font-family: arial, sans-serif;
    padding-bottom: 20px;
    }
    #headerimg {
    margin: 0px 0px 0;
    height: 250px;
    width: 680px;
    }

    Thanks, I just want to see how things look and line up.

  2. sportsjuana
    Member
    Posted 7 years ago #

    anyone know how, it would be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.