Class not working with headline

I’ve made a class who works fine with a text element but not with a headline element.
Why and how to make the class fully working with headline element ?

Hello @Lyser,

Thanks for writing in!

The text element and the headline element have a different structure.

The text element displays the text immediately without a wrapper while the headline element requires you to assign a headling element.

Text Element:

Headline Element:

If you want your CSS code to be applied to all the elements inside the class you will have to use the * selector. For example;

.titrebuild * {
    font-family: 'oswald' !important;
    font-weight: 300 !important;
    font-size: 35px !important;
    color: #fff !important;
    line-height: 1.2em !important;

To learn more about the CSS selectors, please check this out:

Ah perfect, i had the same problem with v2 butons, but not anymore ! =)
Thx you ruenel !

Glad we could help, Cheers!