How to change text size

Solved
anaer
Excursionist
42 1 4

Hi, how can I change the text size of certain elements? I am using prestige theme. The website is www.rubiesbras.com

So, I would like to change the text size on homepage, for example, to 20px here and heading and button to 24px: 

Screenshot 2020-10-04 at 16.40.49.png

Thank you

0 Likes

This is an accepted solution.

You can add the following CSS code at the end of your file theme.scss

It it designed to work only on the home page.

/* Home Page: Heading */
.template-index {
    /* Header */
    .u-h1 {
        font-size: 24px;
    }
    /* Text */
    .FeatureText .Section p {
        font-size: 20px;
    }
    /* Button */
    .FeatureText .Section a {
        font-size: 24px;
    }
}

 

• If the problem is solved remember to click ✅ to Accept Solution
• Press Like, if the answer was helpful
• Shopify/Shopify Plus custom development, optimization and consulting. You can hire me here.
0 Likes