Add Line Breaks to Woocommerce Product SKU & Category Name
January 20, 2023 ⚊ 1 Min read ⚊ WOOCOMMERCE WORDPRESS
We can easily add line breaks between product SKU and category name on the single product page. This formatting will make your product’s single page more user-friendly.
You can add the following snippet of your CSS file of active theme/child theme.
.product_meta>span{
display: block;
margin-bottom: 15px;
}
After the line break between product SKU and category name on the single product page.
