sumfight
Member
Posted 3 years ago #
I'm trying to do mouse overs on my images, but it's not working, if i just upload the php file and open only that, it works, but as soon as I put the code in a wordpress page, or use it as a php include, then it does not work... am I just over looking something small?
Is it defined in your styles.css as a class?
@sumfight: you can't add php code to a WordPress post/page via the inbuilt editor without using a plugin such as Run PHP. Why are you trying to create mouseover effects using a php script anyway. The best way to handle basic mouseover effects is via CSS.