Hi guys,
I would like to put a global block that contains a background image and a text in the top section of the shop page and on the archive page, would that be doable? if so, how?.
i tried adding it through functions.php but the entire global block sort of broke. this is the code i wrote:
/* function shop_header() {
if ( is_shop() || is_product_category() ) : ?>
<div class="x-header-shop">
<h1 class="shop-header"><span><?php echo do_shortcode('[cs_gb id=6611]'); ?></span></h1>
</div>
<?php endif;
}
add_action('x_after_masthead_end','shop_header', 30); */
This was the result: http://prntscr.com/jomgdn
this is what was supposed to show: http://prntscr.com/jomgp3
is there any way to do so?