x

Embed Code changes font

Hi, I'm trying to enter text with the embed code feature (in order to make it an h1), but when I do I can't get it to appear in the same font as the rest of the Titles on my site. I've even copied the html of the other titles on the site that display in the correct font but no luck. Any pointers? Thanks!

2,313 Views
Message 1 of 2
Report
1 Best Answer
Square

Best Answer

There might not be any styling associated with an H1 tag. There's two ways to solve that:

1. Customize the theme to add H1 tags to whatever styling is used for other header tags

2. Style the H1 tag separately

If you do the second option, you can actually include that in Settings > SEO > Header Code so you don't customize the theme itself, like this:

<style>
h1 {
/* style rules here */
}
</style>

View Best Answer >

2,309 Views
Message 3 of 2
Report
1 REPLY 1
Square

Best Answer

There might not be any styling associated with an H1 tag. There's two ways to solve that:

1. Customize the theme to add H1 tags to whatever styling is used for other header tags

2. Style the H1 tag separately

If you do the second option, you can actually include that in Settings > SEO > Header Code so you don't customize the theme itself, like this:

<style>
h1 {
/* style rules here */
}
</style>
2,310 Views
Message 3 of 2
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.