Jump to content
Sign in to follow this  
scottd

jquery effect

Recommended Posts

scottd

I am trying to incorporate a jquery hover effect in my child theme of platform pro... (tutorial/source) http://www.webdesignerwall.com/demo/jquery/animated-hover1.html How do you call an external jquery file in the theme? Do you include some code in the header.php? I noticed an empty custom.js file in the pro theme - should I use this or should it be handled in the child theme?

Share this post


Link to post
Share on other sites
bryan-hadaway

In Custom Code > Custom CSS there is a spot for header scripts. Thanks, Bryan

Share this post


Link to post
Share on other sites
scottd

Bryan, Thanks for calling that to my attention! What is the proper code I would place in there? Let's say I wanted to use that empty custom.js file in the platform pro theme for my jquery... ` `

Share this post


Link to post
Share on other sites
cmunns

WP already includes jquery so you don't need to load it again. It should work by just using this in your footer scripts box `

Share this post


Link to post
Share on other sites
scottd

Adam, Thanks for clearing that up! Ok, so I now have my jquery in the footer scripts box, but still no luck. When looking at the CSS I noticed that when I remove the `display: none;` for the `.menu li em` style ??” my bubbles show up (with no effect of course). Am I still missing something?

Share this post


Link to post
Share on other sites
bryan-hadaway

Can we get a link to your site so we can see what's going on? Thanks, Bryan

Share this post


Link to post
Share on other sites
scottd

Bryan, I had to put this aside for now, but will post back soon. Thanks!

Share this post


Link to post
Share on other sites
bryan-hadaway

No rush, update us you need further help. Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×