[Support request] Heading font – regular and italic both in same line – using use any font

Home Forums Support [Support request] Heading font – regular and italic both in same line – using use any font

Home Forums Support Heading font – regular and italic both in same line – using use any font

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2159450
    letsdoit

    Hello Team,

    I am using GP premium and GB and use any font.

    In my heading – h1, I wish to use few words in regular font and few words in italic font. The fonts I am using for regular and italic are two different font files uploaded to use any font plugin with one font assigned as h1 element. But what is the element that I can mention so that when h1 is italic, the other italic font is used. Or this is something not doable or fall out of your scope of assistance.

    Thanks either ways.

    #2159468
    Ying
    Staff
    Customer Support

    Hi there,

    If you are using GB, you can try the inline-width option of headline block:
    https://www.screencast.com/t/E942uRX3fB

    This is what it looks like on frontend:
    https://www.screencast.com/t/8bJrHEjR

    #2159618
    letsdoit

    Thanks Ying. That was not able to achieve the exactly what I wanted. But is below option not advisable –

    h1.gb-headline-e49ed689 .gb-highlight {font-family: ‘sometimes-times-ital’ !important;}

    Above css works well but want to ask if for some reason it should not be preferred over what you advised.

    Thanks..

    #2159636
    Ying
    Staff
    Customer Support

    If the CSS works, then the font setting in GB headline block should work as well.

    I’m not sure why CSS is needed.

    Can you show me your site and point me to the headline I should be looking at?

    Let me know 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.