Centralize related products ( Title )

Suco
Excursionist
109 0 14

IMG_2758.jpeg

 Hello guys , do you know a code to centralised this title ( YOU MIGH ALSO LIKE ) 

thanks guys 

 https://www.behumblee.com/

Pass-Humblee3030

Replies 2 (2)

techlyser_web
Shopify Partner
1618 299 322

Hello @Suco 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
   .related-products__heading {
      text-align: center !important;
   }
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Made4uo-Ribe
Shopify Partner
6388 1534 1903

Hi @Suco 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

product-recommendations.related-products h2 {
    text-align: center !important;
}

 

And save. 

Result:

Made4uoRibe_0-1716570399098.png

If the code wont work on the mention files. 

You can paste the code on the custom css on the customize theme edits.  Just go on the product pages. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.