Site logo

Archived topic

Heading font - regular and italic both in same line - using use any font

3 replies · Started by letsdoit on March 18, 2022

Viewing posts 1–4 of 4

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.

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

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 :)

This archived topic is closed to new replies.