• Hello,

    I have a problem in validator.w3.org.

    I have an error with the message “Element style not allowed as child of element div in this context.”

    The error is from template.php

    <div class=”opal-footer-profile clearfix”>
    <?php
    if (function_exists(‘kc_do_shortcode’)){
    $raw_content = kc_raw_content( $footer_data->ID );
    echo kc_do_shortcode( $raw_content );
    }else{
    // Use default method if KC is deactived
    echo do_shortcode ($footer_data->post_content);
    }
    ?>
    </div>

    What should i do?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Element style not allowed as child of element div in this context.’ is closed to new replies.