How to change weight on header text shopify

Hi! i use the Shopify prestige theme. And i want to make the header text into two lines. Any idea on how to solve this?? As for now, its looks too long on the desktop.

Thanks for all the help in advance.

Hi @davidpaullo

You website is password protected. Can you provide the password?

The code should look like below but you need to call the element.

h2 {
font-weight: bold
}

@made4Uo
Pass:
decrea

@made4Uo
Pass:
decrea

Thansk!

Hi @davidpaullo

I thought you mean font-weight. Anyway, to change the header to two lines, you can add the code below

  1. From your Admin Page, click Online Store > Themes >Actions > Edit code
  2. In the Asset folder, open the thtme.css
  3. Paste the code below at the very bottom of the file.
h2.SectionHeader__Heading.SectionHeader__Heading--emphasize.Heading.u-h1 {
    max-width: 900px;
    margin: auto;
}

Thanks!! a lot for helping me out @made4Uo :slightly_smiling_face:

//David