• Hi,

    there seems to be a problem adding the class “cooltimeline-body”.

    In the file cooltimeline-instant-builder.php, there is :

    //Load body class
    function gctl_timeline_body_class( $classes ) {
    	if ( is_array($classes) ){ $classes[] = 'cooltimeline-body'; }
    	else{ $classes.='cooltimeline-body'; }
    	return $classes;
    }	

    But when i see my body i have :

    <body class="wp-admin wp-core-ui js contextual-adminbar-colorcooltimeline-body tools_page_contextual-adminbar-color auto-fold admin-bar branch-5-3 version-5-3-1 admin-color-fresh locale-fr-fr mobile customize-support svg">

    The error : contextual-adminbar-colorcooltimeline-body

    I think you have to change : $classes.='cooltimeline-body'; to $classes.=' cooltimeline-body';

  • The topic ‘Problem add class “cooltimeline-body” for body’ is closed to new replies.