Aligning h2 product title text to center on collections page

kerryvarma
Excursionist
24 4 6

Hi

I have this page in development (upgraded theme version): https://sfh3yr6isl007dvl-736231479.shopifypreview.com/collections/cable-adapters

and I've added the following code in, to center align the product title, however however it only seems to be impacting the second line in title (product code) and not the first:

h2.product-item-title {
width: 100%;
text-align: center;
padding: 0 2%;
height: 50px;
}

Here's it working in Live: https://unnotekno.com/collections/cable-adapters

Appreciate any help here! Thanks

0 Likes