Hi @evelynmsdesigngraphicscom,
Thanks for reaching out, and glad WooCommerce has been working well for you over the years!
The horizontal rule lines you’re seeing in the New Order email template were added as part of WooCommerce’s email improvements in a recent update. Customizing or removing them falls under custom code modifications, which are outside our Support Policy, but I’m happy to point you in the right direction!
- You can try to hide it via CSS
/* Hide all horizontal lines in WooCommerce new order emails */
.woocommerce-email hr {
display: none !important;
}
- The email templates are overridable via your child theme. The New Order email template is located at:
woocommerce/templates/emails/admin-new-order.php
You can override it by copying it to your child theme at:
your-child-theme/woocommerce/emails/admin-new-order.php
From there you’d be able to remove the <hr> elements directly from the template. WooCommerce’s documentation on overriding templates is a great starting point: https://woocommerce.com/document/template-structure/
For help with custom code modifications like this, I’d recommend checking out our customizations page where you can connect with developers, our Developer Hub, or our Developer Slack Community.
Hope that helps point you in the right direction!
Thread Starter
+ES
(@evelynmsdesigngraphicscom)
Hi, @frankremmy, thank you very much for the detailed response! That does point me in the right direction and I will work on that on my end. Have a great day!
Hi there,
You’re very welcome! I’m glad the information helped point you in the right direction.
If you have any questions while working on this or need further assistance, please don’t hesitate to reach out we’ll be happy to help.
Before you go, If you felt supported through the issue, a quick review on ww.wp.xz.cn would mean a lot. It helps others feel confident choosing it, knowing there’s help when they need it.
Leave a review here:https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post
Thank you