Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Fixing WordPress
    In reply to: Scroll Reveal.js
    Thread Starter richfoulkes1

    (@richfoulkes1)

    Okay I will give that a try! thanks for the help again!

    Forum: Fixing WordPress
    In reply to: Scroll Reveal.js
    Thread Starter richfoulkes1

    (@richfoulkes1)

    Let me simplify this a little more maybe what I wanted to do is the following:

    Get this javascript on my site http://scrollrevealjs.org/, so I downloaded the javascript file and placed it in my themes Javascript folder (public_html/wp-content/themes/omni/assets/js) I have a custom box in my theme options in the wordpress box where I added this code:
    <script src='{your_JavaScript_path}/scrollReveal.js’></script>
    <script>

    window.scrollReveal = new scrollReveal();

    </script>

    And that’s it. Hopefully this helps a little, I realise now I need to use php in wordpress <?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?> something similar to this? but I dunno exactly what I should be doing!

    Thanks for the help so far though guys

    Forum: Fixing WordPress
    In reply to: Scroll Reveal.js
    Thread Starter richfoulkes1

    (@richfoulkes1)

    You lost me a little, I don’t know what PHP code you are referring to? and I’ve no idea what the wp_footer does ha! I’ve added the html markup but no PHP.

    Forum: Fixing WordPress
    In reply to: Scroll Reveal.js
    Thread Starter richfoulkes1

    (@richfoulkes1)

    I see I placed this into my functions.php <script src=”js/scrollReveal.js”></script> is that right I’m not too sure if I put it in the right place!

    Thread Starter richfoulkes1

    (@richfoulkes1)

    Thanks Phil worked perfectly.

    Same problem again this time on my custom menu widget text goes from brown to a lighter brown cant seem to change this? And the H1 in my main content Traditional Sweet shop in birmingham

    any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)