Hi, So basically i would like the logo of my website to rotate on rollover. Im running a theme i recently bought on wordpress and have been struggling amending the right bits of code.
I have managed to find the code to actually make the transition
I just have no idea where i am supposed to place this code in order to create this effect. I am assuming in the stylesheet but nothing that i am trying is working. My website is live here:
if you need any more info, bits of code to further assist me do let me know.
You got it. In your theme (Highlights) go ahead and create a file called custom.css right in the theme folder. Your theme will load it automagically in addition to the theme's existing stylesheet.
In that file, paste your CSS, with the following modifications:
Hi, So basically i would like the logo of my website to rotate on rollover. Im running a theme i recently bought on wordpress and have been struggling amending the right bits of code.
I have managed to find the code to actually make the transition
example
I just have no idea where i am supposed to place this code in order to create this effect. I am assuming in the stylesheet but nothing that i am trying is working. My website is live here:
if you need any more info, bits of code to further assist me do let me know.
any help would be greatly appreciated
In your stylesheet:
Don't forger the prefixes. :)
You got it. In your theme (Highlights) go ahead and create a file called
custom.cssright in the theme folder. Your theme will load it automagically in addition to the theme's existing stylesheet.In that file, paste your CSS, with the following modifications:
You absolute diamonds! Works a treat, didnt think it was that easy. I always complicate solutions in my head when it comes to CSS. Cheers guys