How to center the heading of sections?

Our themes do not currently have a built-in setting to center the heading of sections like Featured Collection, Multicolumn, Collection list, etc. To do so, you will need to use custom code (Rest assured, the process is very easy). Please follow the steps below.


  1. In your Shopify admin, go to Online Store > Themes > Click Customize.

  2. Click the section that you want to add the code to.

  1. Scroll down to the bottom of the settings, click Custom CSS.

  1. Input the following code into the Custom CSS section:

h2 {
  margin: auto;
  1. Click Save.

Last updated