• I’m considering using a theme that isn’t specifically designed for WordPress and has its bigger images in slices. From what I’ve seen on the few themes I’ve examined, the images are typically put in the background settings for a class setting, like this:

    body.tree {background-image: path/oak.jpg;}

    How does one use a sliced image in a WordPress theme? Do you have to put the image into the header, instead of the css file, or do you have to get a copy of the image whole? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve put slices in a header and just followed the advice of one of the mods here

    \<?php bloginfo(‘stylesheet_directory’); ?>/img/bannerslice.gif” width=”1″ height=”15″ alt=”spacer” />\

    (leave out the \ at either end of the code above)

    Just point to your url using the code above, it works like a charm

    Also works to just have a normal image included

    Thread Starter amulet

    (@amulet)

    Thanks. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Putting Image Slices Together’ is closed to new replies.