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

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>


5 1 vote
Article Rating
Subscribe
Notify of
guest


0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

YOU MAY ALSO LIKE

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...

Hover to Expand Image Effect in 2 Simple Steps | Showit Code Snippet

Recently, Showit introduced an exciting update that allows users to add custom class names to elements. This opens up endless customizations and styling possibilities. Hover to expand image is a subtle yet effective animation that can enhance the visual appeal of your...