Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #385460

    hi there,

    if a question – i make something wrong with the codebox.
    i want to input these html, so i copy and past it to the codebox

    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie ie6 no-js" lang="de"> <![endif]-->
    <!--[if IE 7 ]>    <html class="ie ie7 no-js" lang="de"> <![endif]-->
    <!--[if IE 8 ]>    <html class="ie ie8 no-js" lang="de"> <![endif]-->
    <!--[if IE 9 ]>    <html class="ie ie9 no-js" lang="de"> <![endif]-->
    <!--[if gt IE 9]><!--><html class="no-js" lang="de"><!--<![endif]-->
        <head>
            <meta charset="UTF-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
            <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
            <link rel="stylesheet" type="text/css" href="wp-content/se/start/css/demo.css" />
            <link rel="stylesheet" type="text/css" href="wp-content/se/start/css/style4.css" />
    		<script type="text/javascript" src="wp-content/se/start/js/modernizr.custom.86080.js"></script>
        </head>
        <body id="page">
            <ul class="cb-slideshow">
                <li><span>Image 01</span><div><h3>se·ren·i·ty</h3></div></li>
                <li><span>Image 02</span><div><h3>com·po·sure</h3></div></li>
                <li><span>Image 03</span><div><h3>e·qua·nim·i·ty</h3></div></li>
                <li><span>Image 04</span><div><h3>bal·ance</h3></div></li>
                <li><span>Image 05</span><div><h3>qui·e·tude</h3></div></li>
                <li><span>Image 06</span><div><h3>re·lax·a·tion</h3></div></li>
            </ul>
        </body>
    </html>

    but it doesn’t work!
    i only get displayed this:

    Image 01
    se·ren·i·ty
    Image 02
    com·po·sure
    Image 03
    e·qua·nim·i·ty
    Image 04
    bal·ance
    Image 05
    qui·e·tude
    Image 06
    re·lax·a·tion

    no effect starts to play … all paths are working. so what does i make wrong?

    please help

    • This topic was modified 9 years, 3 months ago by ACM.
    #385514

    Hey ACM!

    You should only paste this part of the code to your page – http://pastebin.com/1RitVMsg
    What exactly would you like to do?

    Regards,
    Yigit

    #385525

    hmmm ….

    as you can see in the code i need some css and java script.
    where goes there?

    #385528

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    function my_custom_scripts() {
    	wp_enqueue_style( 'demo CSS', get_template_directory_uri() . '/css/demo.css' );
            wp_enqueue_style( 'style 4 CSS', get_template_directory_uri() . '/css/style4.css' );
    	wp_enqueue_script( 'modernizr-script', get_template_directory_uri() . '/js/modernizr.custom.86080.js', array(), '1.0.0', true );
    }
    add_action( 'wp_enqueue_scripts', 'my_custom_scripts' );

    and make sure to place “modernizr.custom.86080.js” file inside Enfold/js folder and “demo.css” and “style4.css” files into Enfold/css folder

    Cheers!
    Yigit

    #385550

    hi there,

    thanks …. this works fine.

    you can flag the topic as closed.

    kind regards
    —————-
    acm

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘code box’ is closed to new replies.