Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Kemerd

    (@kemerd)

    Fixed it with CSS– nevermind.

    Thread Starter Kemerd

    (@kemerd)

    Alright, so I got it to work– it appears on the page, but the issue is that the canvas appears ABOVE the wordpress page– and when you scroll down you can see the page.

    How can I make it so it appears BEHIND the page– not on top of it?

    Thread Starter Kemerd

    (@kemerd)

    The JS is here:
    http://codepen.io/acauamontiel/pen/mJdnw/

    I have no problem using that JS itself– as I used it on the title page on a website before.

    Thread Starter Kemerd

    (@kemerd)

    My header.php:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo('charset'); ?>" />
    	<title><?php wp_title( '|', true, 'right' ); ?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="profile" href="http://gmpg.org/xfn/11" />
        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
        <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <div class="container">
    	<header>
    		<a id="blog-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    		<p id="description"><?php bloginfo('description'); ?></p>
    		<nav role="navigation">
    			<?php wp_nav_menu(array('theme_location' => 'primary','depth' => 2,'container' => 'false','fallback_cb' => 'false')); ?>
    		</nav>
    	</header>

    Thread Starter Kemerd

    (@kemerd)

    Sorry, it’s not working at all for me (at least).

    Under:
    <body <?php body_class(); ?>>

    I put my:
    <canvas></canvas>
    <script type=”text/javascript”>
    — insert js code
    </script>

    But it’s not doing anything different.

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