Change font of titles in Integrity 2

I can’t seem to figure out how to change the font of the titles that are used on Integrity 2. I want it to be Open Sans. I’d also like to make them a bit smaller.

Based on reading other forum posts about this topic, I tried this from Cornerstone:

Clicked CSS button on left side.

Typed this in there:

h2, .h2 { font-style: open-sans; font-size: 1.953rem; margin: 1rem 0 1rem; }

It didn’t appear to have any impact on the look of the titles.

Hello Eric,

Thanks for reaching out. :slight_smile:

Please add following CSS under X > Theme Options > CSS:

h2, .h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.953rem;
}

1- I have found the proper CSS code selector using the Chrome browser Developer Toolbar: https://www.youtube.com/watch?v=wcFnnxfA70g

2- For the CSS code itself, I suggest that you get started with this tutorial: https://www.youtube.com/watch?v=yfoY53QXEnI

Thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.