/*
Theme Name: ImgassoiPorto
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
.site {
            background-color: #FFFFFF;
	
        }

/* Masquer l'UGS des pages produits */
.product .sku_wrapper {
      display: none;
}

@media only screen and (min-width: 800px) {
.bienvenum p { font-size: 1px; }}

.primary-menu a {
	font-size: 18px;
	font-weight: bold;
}
<?php
add_filter( 'wp_head' , 'related_products_style' );

function related_products_style() {
	
	if( is_product() ) :
	?>
	<style>
	.woocommerce .related ul.products li.product, .woocommerce .related ul li.product, .woocommerce .upsells.products ul.products li.product, .woocommerce .upsells.products ul li.product, .woocommerce-page .related ul.products li.product, .woocommerce-page .related ul li.product, .woocommerce-page .upsells.products ul.products li.product, .woocommerce-page .upsells.products ul li.product {
		width: 50% !important;
	}
	</style>
	<?php
	endif;
}
/* Correction de l'affichage moche de l'adresse WooCommerce */
.woocommerce .u-column.woocommerce-Address.address {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

