Zippo

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: How do I add an alt font class? #389066
    Zippo
    Participant

    Oh, you’re right.
    That section has both h2 and strong tags.

    I tried the method you mentioned and everything seems to work perfectly now.

    Thank you so much for your support Dinesh.

    Wonderful plugin by the way.
    I was really struggling with a competitor’s plugin recently and yours works much better.

    in reply to: How do I add an alt font class? #388884
    Zippo
    Participant

    Yes, I want to add dancing script font to that h2 element.
    So, it shows my main h2 font (arvo) in blog posts, etc.
    But it would show dancing script h2 font when class=”alt-font” is used.

    I tried to add h2.alt-font to element under dancing script in Use Any Fonts and it doesn’t seem to work?

    in reply to: How do I add an alt font class? #388862
    Zippo
    Participant

    So, I just wrote a lengthy reply to this and hit submit and it appears it didn’t post it.

    The page I am having issues with is the homepage:
    https://reedshandmadeincense.com

    I am using the popular Flatsome theme.
    This is one of their layouts which incorporates multiple h2 fonts.
    They use class=”alt-font” to switch to a second h2 font in select locations.

    If you look where it says:
    Reed’s Handmade Incense
    High quality and handcrafted
    Give Us a Try!

    Then you will see that it incorporates the following html code:
    <h2 class=”alt-font”>Reed’s Handmade Incense</h2>

    My main h2 font is Arvo, but the theme uses this alt-font class to switch the h2 tag to dancing script in those specific locations.

    Is this something your plugin supports?

    Zippo
    Participant

    That worked perfectly!
    Thanks so much!

    Zippo
    Participant

    Ok, so, I did some testing.
    Apparently this only happens when I apply a font to the hyperlink portion.

    Any idea why? This is the same font that was being used for Google Fonts.

    Obviously I can’t have a different font in the middle of my paragraphs for links. lol

Viewing 5 posts - 1 through 5 (of 5 total)