• hi, I am currently working on my second WP theme and I already have it more or less where I wanted it to be. you can see it here (very slow sometimes ?? : link

    I would really like to add some sort ov hover effect to the images on the homepage. for example they could be darker when no hover and lighten up when mouse is over them. I think this can be done with some css, but I don′t know where I need to add that? where does a single post for the homepage get compiled? in the index.php is only the loop, with get_content, can I add an effect like that in there?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    If you don’t really care about old browsers you could add something like this to your style.css :

    #content img{
    opacity:0.5;
    }
    #content img:hover{
    opacity:1;
    }

    Also I noticed you are using the same ID for each post “home_image”, you should change that to a class.

    Thread Starter kris-11

    (@kris-11)

    thanks, that was easier than I thought. it works really well like this ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to change the post content on mainpage?’ is closed to new replies.