How to Add a Single H1 Header With Different Fonts on Your Showit Website the Right Way

Enjoying these free resources?

Your support helps keep this site running and growing!

We all have, at some point working with ShowIt, come across a scenario where we want to create a header that contains a phrase that we want to emphasize using a different font, or color. What ShowIt designers generally do is create separate text boxes for separate portions of the header and drag and place them in a way that forms the header sentence.

While there seems to be nothing wrong from the outset, this is not good SEO practice. While we may read it as one singular sentence, Google bots decipher it differently.

I have thus created this tutorial to show you how you can properly create your H1 header inside a single text box, and still have it the way you want it to look.

While I generally do a step-by-step blog post for our tutorials, I felt this particular tutorial could be much better explored, understood and explained in a video.

How to create H1 Headers the right way in ShowIt | Multiple font headers in ShowIt

Codes Used:

Anakin is your <span class="otherfont othercolor lineofitsown">next-level photographer</span> from Portland, Oregon


<style>
.otherfont{
font-family: 'Your Font Name Here';
font-style:normal;
font-weight:normal;
}

.othercolor{
color:#fafafa; /*REPLACE WITH YOUR DESIRED COLOR*/
}

.lineofitsown{ /*DELETE IF YOU DO NOT WANT TEXT IN SEPARATE LINE*/
display:block;/*DELETE IF YOU DO NOT WANT TEXT IN SEPARATE LINE*/
}/*DELETE IF YOU DO NOT WANT TEXT IN SEPARATE LINE*/


/*DELETE FROM HERE IF YOU DO NOT WANT CUSTOM FONT SIZES IN DESKTOP AND MOBILE*/
@media screen and (max-width:981px){
.otherfont{
font-size:20px;
margin: 12px auto;
}
}
@media screen and (min-width:981px){
.otherfont{
font-size:80px;
margin: 30px auto;
}
}
/*DELETE UP TO HERE IF YOU DO NOT WANT CUSTOM FONT SIZES IN DESKTOP AND MOBILE*/
</style>

*FOR CUSTOM FONT USERS ONLY*

Copy and paste this code replacing font names and source url in the HEAD section of the page under ADVANCED SETTINGS

<style>
@font-face{
font-family: 'Your font name';
src: url('link to your font file');
font-style:normal;
font-weight:normal;
}
</style>


Enjoying these free resources?

Your support helps keep this site running and growing!

5 1 vote
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

YOU MAY ALSO LIKE

How to Create a Dropdown Field in Showit

Tired of Showit's limited contact form options? While Showit offers a versatile web building experience, its native contact forms lack dropdown functionality—a critical feature for streamlining user input and collecting organized information. Don't worry if you're not...

Text Reveal Animation | Showit Code Snippet

A text reveal animation is a stylish and sophisticated way to elevate the visual appeal of your website. By incorporating this dynamic effect, you can create an engaging experience that captures your visitors' attention and leaves a lasting impression. With the help...

Custom Scroll-Triggered Advanced Animations | Showit Code Snippet

If you're a Showit user looking to add some extra flair to your website, scroll-triggered animations are a fantastic way to engage your visitors. While Showit is known for its drag-and-drop simplicity, adding custom animations often requires a bit of custom code. In...