Forgot to upload my bad
Topic summary
A Shopify store owner needed help centering a product page title, specifically the “related products” heading. An image was shared showing the misaligned element.
Two solutions were provided:
-
CSS file method: Add custom CSS code to the theme’s base.css/style.css file targeting
h2.related-products__headingwithtext-align: center !important; -
Theme customizer method: Navigate to Theme settings > Custom CSS and paste the same CSS code directly in the customizer interface
Both approaches use identical CSS targeting the related products heading element. The issue was successfully resolved, with the original poster confirming both solutions worked.
