Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #608801

    Hi!,
    I have this “Special Heading”, in “Content”, “Heading text”: Benvinguts a ben bo
    I would like to increase the size font only in the “ben bo” text, not in all the line.

    I tried in the degub editor, withour exit:
    [av_heading heading='Benvinguts a ben bo' tag='h1' style='blockquote modern-quote' size='60' subheading_active='subheading_below' subheading_size='18' padding='0' color='custom-color-heading' custom_font='#ffffff']

    Is it possible?

    Thanks in advance!

    PD: a suggestion: it would be great to use a search in the topic list…
    Joan

    #608823

    Hi bcndisseny!

    You can edit your element and add a span with custom class as following

    Hello <span class="my-custom-text">world!</span>

    and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .my-custom-text { font-size: 40px; color: orange; } 

    Cheers!
    Yigit

    #608884

    Thanks Yigit!
    I do but in the “Special Haading” don’t work this html. This is my example:
    [av_heading heading='Benvinguts a <span class="h1gran">ben bo</span>' tag='h1' style='blockquote modern-quote' size='60' subheading_active='subheading_below' subheading_size='18' padding='0' color='custom-color-heading' custom_font='#ffffff']

    When I publish I get:
    Benvinguts a <span class=”h1gran”>ben bo</span>

    Maybe is because the ” in the “h1gran”?

    Note: I create in quick css this tag:
    .h1gran { font-size: 4em; font-weight: bold; }

    Thanks!

    Joan

    #608895

    Hey!

    Can you please flush browser cache and refresh your page a few times? It does work on my end

    Cheers!
    Yigit

    #608905

    You’re Right!
    Thanks a lot!
    Joan

    #608906

    Hey!

    You are welcome, let us know if you have any other questions or issues :)

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to increase a font size in a part of a "Special Heading"’ is closed to new replies.