• heavystone86

    (@heavystone86)


    Hey everyone!

    I have images attached to the posts on the homepage that are 960px across, but are two images 480px across that have been placed side-by-side in photoshop. I set it up so that the image on the left shows up. I am looking for the place to change css so that when rolled-over, the background position moves to 480px to show the other image. Can anyone help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Try googling on “css sprites”.

    Thread Starter heavystone86

    (@heavystone86)

    Thank you for such quick response. I know to use the css sprites, but I am having difficulty finding where to put the code for the theme. I feel like I’ve tried putting the code (background-position: 480px 0px no-repeat;) in every part of the css for autofocus.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS image rollovers’ is closed to new replies.