Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #690402

    Ahoy,

    I’m trying to have multiple header font on one line so my text reads “Hi, We’re keen”

    I want the “Hi, We’re” in this font

    h3, h4, h5, h6 {
    font-family: 'Roboto', arial, verdana !important; 
    font-weight: 300 !important;
    }

    and “keen” lower case in this font

    h1, h2 {
    font-family: 'TiemposHeadlineWeb', arial, verdana !important; 
    }

    I have already added both fonts which you helped me with here https://kriesi.at/support/topic/different-fonts-for-h1-h2-and-h3-h4-h5-h6/

    What is the best element to do this in? How to I make the size similar?

    I tried doing it with the special heading and adding inline code but got this (screesnhot) The font it all upper case… which I dont want and smaller and on another line..

    Please advise which element I should do this in.

    #692139

    Hey mcraig77,

    you can control “keen” with this code:

    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    text-transform: none;
    font-size: 60px;
    }
    

    Adjust it as needed.

    Best regards,
    Andy

    #692422

    That seems to allow me to adjust the font size, is there a way to make the text all on one line?

    Code of backend below

    #693242

    Hi,

    Please wrap your text inside a custom span as following

    <span class="your-custom-class">your text in different font family</span>

    then add following code to Quick CSS

    .your-custom-class { font-family: 'TiemposHeadlineWeb', arial, verdana !important; }

    Best regards,
    Yigit

    #693363

    Boom! Worked! Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Multiple fonts on one line’ is closed to new replies.