Home › Forums › Trusted Pro › Removing header image (and page title) on product archive pages. › Reply To: Removing header image (and page title) on product archive pages.
Spending the last couple of hours to find a solution (following your advice) I noticed in the WooCommerce docs a partial solution.
I wrapped the call for the header in an if statement:
‘ if (!is_woocommerce()){
if ($trusted_custom_header) {
trusted_custom_header_title($trusted_this_id);
} else {
trusted_header_title();
}
}’
The header is disappeared but also is the <div class=”container clearfix”> changed to <div id=”content” class=”site-content clearfix”>
The result is that the page becomes full with (no container of 1160px and the content is shifted to the upper left corner, partially hidden by the (so to say) header bar.
I could not find a way to fix this myself so, again, I need your help. (Sorry)