• Resolved 35mmd

    (@35mmd)


    Hello,
    I purchased your Premium version and have a JavaScript that is working, when put in Divi->Theme Options-> Integration -> Code <head>.

    But it’s not working when I deactivate it in Divi and put in your Plugin
    – Option:?“Load JS in the <head> section”
    – In the plugin I removed <script> & </script>
    – I deactivated all JS related options in WpRocket

    The code (moves footer always to bottom of a page):

    <script>
    jQuery(function($) {
        $(document).ready(function() {
            if ($('body').height() < $(window).height()) {
                $('footer').css({
                    'position': 'fixed',
                    'bottom': '0px',
                    'left': '0',
                    'right': '0'
                });
            }
        });
    });
    </script>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JavaScript not working’ is closed to new replies.