• I have been trying to install rubric stylesheet. I can’t get the images to appear.

    On an earlier post someone said to post them to wp-style/images directory (or something) I don’t have a directory like that so I uploaded the two images to wp-images.

    Now I can’t figure out what exact path to put in the css text to make it look for the images in that directory.
    my site is http://www.meatriarchy.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • There’s an error in your CSS. You have this:
    background-image: http://www.meatriarchy.com/wp-images/pen-sm.jpg;

    It should be this:
    background-image: url(http://www.meatriarchy.com/wp-images/pen-sm.jpg);

    You will have to fix others as well.

    Thread Starter themeatriarchy

    (@themeatriarchy)

    aha!!! that silly bracket!!!

    Thread Starter themeatriarchy

    (@themeatriarchy)

    WORKED!!!! thanks Moose.

    background-image: url(/wp-images/pen-sm.jpg);

    This would be more precise, i wont recommend using absolute link here ;).

    It’s not more precise, it’s just a different link. What’s wrong with an absolute link? I know from experience that I have had images show up on the content page but as an archive page the link was broken. The absolute link prevents that headache. That said, relative links are far more common for “internal” links, as you say.

    If the image is huge in size, absolute link will increase download time because html parsing will ping your hosting everytime someone access the image, instead of just loading it from your public_html folder directly. That being said, its really not much different as long as it works ;).

    Puppy18,
    Yes, that is a very good point as well. Maybe I should not be lazy and figure out why my site misbehaves with the relative links!

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

The topic ‘Installing Rubric – CSS problem with images’ is closed to new replies.