Reply To: Changing Fonts in H1, 2, 3, 4, 5 etc

Homepage Community Forums Epik Theme Support Changing Fonts in H1, 2, 3, 4, 5 etc Reply To: Changing Fonts in H1, 2, 3, 4, 5 etc

#10768
mattfollows
Customer

    Hi again,

    Do you mean delete this bit?

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    color: #333;
    font-family: ‘Georgia’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 16px;
    margin-bottom: 1rem;
    padding: 0;
    }

    If so, do I then put the styling bit’s from that separately into each of the h styles like this:

    From this:

    h2 {
    font-size: 30px;
    font-size: 1.875rem;
    }

    To this:

    h2 {
    font-size: 30px;
    font-size: 1.875rem;
    color: #333;
    font-family: ‘Georgia’;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 16px;
    margin-bottom: 1rem;
    padding: 0;
    }

    And if so, does the font I want to use i.e. Georgie have to have the apostrophes either side of it like above? I’m assuming I can remove them as each other line in the code doesn’t have them?

    Thanks!

    Matt