Home › Forums › Basel support forum › Background image – shop page › Reply To: Background image – shop page
December 16, 2019 at 8:40 am
#163537
Elise Noromit
Member
Hello,
It is not possible to attach the background image to the shop page only. If I provide CSS code, it will be applied to all the templates of eCommerce: categories pages, product pages etc.
body.woocommerce .main-page-wrapper {
background-repeat: repeat;
background-attachment: scroll;
background-image: url(https://phoenixcareuk.co.uk/wp-content/uploads/2019/11/k-background2.jpg);
}
By default, this header layout doesn’t have Login/Register link. But you can add it manually placing the following code snippet to the functions.php file in the child theme.
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
function basel_custom_header_configuration() {
return array(
'container' => array(
'wrapp-header' => array(
'logo',
'widget_area',
'right-column' => array(
'header_links',
'search',
'wishlist',
'cart',
'mobile_icon',
)
)
),
'navigation-wrap' => array(
'container' => array(
'main_nav'
)
)
);
}
Best Regards