Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] wordpress help. jquery not working on single.php

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30543

    I’m doing the same function that Chris did in one of his screencasts about JQuery.

    I’m adding an Image before and after the h2 tag.

    Here is the site I’m working on http://mzhonduras.sabillon.net

    it works fine but if you click on the title and it goes to single page it doesn’t show the images.

    any idea why is not working?

    #78154
    jamygolden
    Member

    Open your header.php and make sure the link to your javascript.js looks like this:

    #78121
    SFD
    Member

    Jamy_za is exactly correct. On the homepage the path to your javascript.js is correct.

    But as shown below, you have the path set relatively, so on inside pages the path is incorrect. Do what Jamy_za has suggested you should be good to go.

    This code is wrong:

    This code would work:

     
    #78074

    thanks guys, it works now!

    #78076
    SFD
    Member

    Glad to hear it :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.