WordPress.org

Ready to get started?Download WordPress

Forums

image paths and very basic template questions (7 posts)

  1. serendipity
    Member
    Posted 9 years ago #

    In your case it should be, I think, url('wordpress/wp-images/myheaderimage.jpg') . Or use the full path: url('http://petite-anglaise.com/wordpress/wp-images/....jpg').
    If I remember right, Root uses #masthead for the blog header div.
    As for importing first or later, it doesn't really matter. Once you've defined your basic stylistic choices, you could import in order to see the effect of your layout on real life posts.

  2. Anonymous
    Unregistered
    Posted 9 years ago #

    okaaay
    so I have saved sunset2.jpg to the directory wp-images
    and I have modified the wp-layout.css to show:
    #header {
    background: #F9D9BB;
    background-image: url('http://petiteanglaise.com/web/wordpress/wp-images/sunset2.jpg');
    background-repeat: no-repeat;
    and nothing happens. Only the colour change. I also tried many other permutations and am very puzzled.

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Take the /web/ out so it reads
    http://petiteanglaise.com/wordpress/wp-images/sunset2.jpg
    That should do it.

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Your header image then becomes hidden... this adjustment in #masthead brings it out:
    padding: 26px 10px 80px 60px;
    The image is also only 700px wide, whereas Gemini is 772 so you will need to drop some numbers if you wanted it to fit:
    #rap {
    width: 772px; <-------make that 702
    #content {
    float: left;
    width: 591px;
    }
    #menu {
    float: right;
    width: 175px;
    }
    Then reduce those numbers by a total of 70px.
    If you reduce margin you will need to use a smaller bg1.gif
    If you get stuck, yell :)

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    *blushes*
    yep

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Oops :)
    I got that wrong !

  7. Root
    Member
    Posted 9 years ago #

    No podz that was fine and thanks. Just a tweak on my part. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.