Table of Contents

How to add extra inline text styles in Carrd
- In a Text element, wrap the character/s or word/s you want to style in a markdown tag you’re not already using – e.g Highlight:


- Now, let’s swap that background colour for the style we want, using CSS.
- Give the Text element a class name, in its Settings:

- Now add an Embed element somewhere on your page, set it to Hidden and located in Head.
- In the Embed element, you need to add some CSS for the style you’re wanting – referencing the markdown tag and the class name. Below is an example :
- In the above code,
.stylishis the class name, andmarkis the HTML equivalent for the markdown tag for Highlight. - We’ve added CSS to increase the font size, and to cancel the original Highlight styling.
<style>
.stylish mark {
background-color: transparent;
font-size: 50px;
}
</style>
Some things to note:
- In your CSS code you will have to cancel out the original styling of the markdown tag you use – in the example above we’ve cancelled out the background colour that Highlight would ordinarily give.
- This technique can be used to add most inline text styles, if you follow the same steps and use the correct CSS. A good CSS reference is W3 Schools.





