Hi Steve,
Thank you for your answer.
I tried to look at the CSS related to the header and the child’s header .php file but I didn’t found anything that could help me and to be honest I’m not a PHP expert.
Through the Child theme, compared to the parent theme, there is an entire <div> which is missing.
Here below you can find the child’s header .php file :
<!DOCTYPE html>
<!--// OPEN HTML //-->
<html <?php language_attributes(); ?>>
<!--// OPEN HEAD //-->
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NB5KZQB');</script>
<!-- End Google Tag Manager -->
<!-- Manually set render engine for Internet Explorer, prevent any plugin overrides -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10">
<?php
$page_class = "";
if ( function_exists( 'sf_page_classes' ) ) {
$page_classes = sf_page_classes();
$page_class = $page_classes['page'];
}
global $post, $sf_options;
$extra_page_class = $page_header_type = "";
$page_layout = $sf_options['page_layout'];
$header_layout = $sf_options['header_layout'];
if ( isset( $_GET['layout'] ) ) {
$page_layout = $_GET['layout'];
}
if ( $post && !( is_archive() || is_category() ) ) {
$extra_page_class = sf_get_post_meta( $post->ID, 'sf_extra_page_class', true );
}
if ( is_page() && $post ) {
$page_header_type = sf_get_post_meta( $post->ID, 'sf_page_header_type', true );
}
if ( $page_header_type == "below-slider" && $page_layout == "boxed" ) {
add_action( 'sf_before_page_container', 'sf_pageslider', 20 );
} else if ( $page_header_type == "below-slider" && ( $header_layout != "header-vert" || $header_layout != "header-vert-right" ) ) {
add_action( 'sf_container_start', 'sf_pageslider', 5 );
} else {
add_action( 'sf_container_start', 'sf_pageslider', 30 );
}
if ( $page_header_type == "naked-light" || $page_header_type == "naked-dark" ) {
remove_action( 'sf_main_container_start', 'sf_breadcrumbs', 20 );
}
?>
<?php wp_head(); ?>
<!-- Pop up Mailchimp subscribers list
<script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us20.list-manage.com","uuid":"f992833fa4ddb63ead56578b2","lid":"85e7d05c43","uniqueMethods":true}) })</script>-->
<!--// CLOSE HEAD //-->
</head>
<!--// OPEN BODY //-->
<body <?php body_class($page_class.' '.$extra_page_class); ?>>
<!-- Load Facebook SDK for JavaScript -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/fr_FR/sdk/xfbml.customerchat.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Your customer chat code -->
<div class="fb-customerchat"
attribution=setup_tool
page_id="266393387187811"
theme_color="#60B96F"
logged_in_greeting="Bonjour, comment puis-je vous aider ?"
logged_out_greeting="Bonjour, comment puis-je vous aider ?">
</div>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NB5KZQB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<?php
/**
* @hooked - sf_site_loading - 5
* @hooked - sf_fullscreen_search - 6
* @hooked - sf_mobile_menu - 10
* @hooked - sf_mobile_cart - 20
* @hooked - sf_sideslideout - 40
**/
do_action('sf_before_page_container');
?>
<!--// OPEN #container //-->
<div id="container">
<?php
/**
* @hooked - sf_pageslider - 5 (if above header)
* @hooked - sf_mobile_header - 10
* @hooked - sf_header_wrap - 20
**/
do_action('sf_container_start');
?>
<!--// OPEN #main-container //-->
<div id="main-container" class="clearfix">
<?php
/**
* @hooked - sf_pageslider - 10 (if standard)
* @hooked - sf_breadcrumbs - 20
* @hooked - sf_page_heading - 30
**/
do_action('sf_main_container_start');
?>
Hope it could help, don’t hesitate to tell me if you would need further information.
Regards,
Romain