如何在我的 Shopify 网站上将产品标题和定价信息居中?

How Do I Center Product Title And Pricing Info On My Shopify Website?

我正在尝试弄清楚如何将我在我的网站上销售的产品的标题 (Safe Guard Lenz) 居中,以及如何将产品标题下的定价详细信息居中。我需要它们以移动和桌面为中心。

它位于主页底部和产品页面本身。理想情况下希望它以两者为中心。

任何帮助实现这一点的人都将不胜感激,因为我一直在网上寻找解决方案,但似乎没有任何成功。

我的网站是safeguardlenz.com,密码是:Bebe

谢谢!

你可以像这样使用样式……

.product-single__title{
  text-align: center;
}

.product__price, #automizely_reviews_product_detail_title_star_widget{
  width: fit-content;
  margin: auto;
}

这是主页值的样式。

.price__pricing-group {
  margin: auto;
}