How can I increase the text size of a specific section using custom code?

Hoping someone can help me.

I am trying to change text size on a certain section on my website which I cannot simply do from the theme customization.

I understand this will need custom code. The text I am trying to change is ‘The home of quality vintage garms’ just above ‘SHOP NOW’ (https://mjvintage.com/?_ab=0&_fd=0&_sc=1)

I am trying to make this text bigger.

This is something i am trying to achieve

Many thanks

Matthew

1 Like

Hi Matthew,

I’d love to help but I don’t see the line you are referring to (‘The home of quality vintage garms’) anywhere on your homepage. Also it would be helpful to know what theme you are using, thanks!

Hey,

Please see the attached photo :slightly_smiling_face:

1 Like

Weird, this is what I see on my end. Maybe the changes made in your site’s customizer aren’t saved?

Ah its because I am using a duplicate theme. Would you happen to know where i can place this code? The theme I am using is Prestige

1 Like

If we can find which classes are applied to the element which you want the font changed, we can change the font-family property in one of your site’s CSS files for that class. eg:

.example-class {
font-family: "example-font";
}

If you are interested in me coding this for you, shoot me an email or PM!

@MatthewOzcan , do this to fix it in 20 seconds:

  1. In your Shopify Admin go to: online store > themes > actions > edit code
  2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:
.SectionHeader__Heading{
    font-size: 40px !important;
}

@media (max-width: 749px){
    .SectionHeader__Heading{
    font-size: 20px !important;
}

}

40px = font size desktop
20px = font size mobile

Kind regards,
Diego

1 Like

Thank you Diego for that! However, I am still struggling to recreate this https://www.blocvintageclothing.com/.

If you compare each slide you will notice the text looks very proffesional. Id basically like to replicate on all of my slides.

Hope this makes sense

Hey, @MatthewOzcan

What exactly are you trying to replicate? Thorough customizations may require working alongside with a developer since they tend to be more complex/time consuming. Let me know what you’d like to achieve.

Kind regards,
Diego

I am trying to replicate this:

Id like this to be on all of my slides