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

    Hi, is it possible to add a fontello icon using HTML or CSS without using the ICON element?

    I want to add the icon to a special heading element. How can I do that?

    Thanks.

    #924296

    Hey DROR,

    You can’t add an icon in the Special Heading Element but you imitate the Special Heading using a Code Block, with a fontello icon:

    <div class="av-special-heading av-special-heading-h3">
    <span class="av-icon-char av-icon-char-custom" style="font-size:20px;line-height:20px;width:20px;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span>
    <h3 class="av-special-heading-tag " itemprop="headline">The Title</h3>
    <div class="special-heading-border"><div class="special-heading-inner-border"></div></div>
    </div>

    just replace The Title, with the title you want to use, then on your Quick CSS section, located in Enfold > General Styling, add this css code:

    #top span.av-icon-char.av-icon-char-custom {
        float: left;
        margin-right: 4px;
    }
    
    #top span.av-icon-char.av-icon-char-custom:before {
        content: "\e836" !important;
    }

    just replace content with the right icon. Hope it helps :)

    Best regards,
    Nikko

    #925112

    How can I make the title be the same as this:

    [av_heading heading='שאלות נפוצות לגבי הספר' tag='h2' style='blockquote modern-quote modern-centered' size='34' subheading_active='' subheading_size='20' padding='20' color='' custom_font='#ffffff' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' custom_class='' admin_preview_bg=''][/av_heading]

    The one you gave me is smaller font and not aligned to the center.

    #925339

    Hi bakbek,

    Can you try giving me a link showing the special heading you mentioned? so I can try to give the exact html code for the Code Block.

    Best regards,
    Nikko

    #925366

    Sure. Screenshot and URL attached.

    #925447

    Hi,

    Thanks, you can use this html code:

    <div style="padding-bottom:20px;font-size:34px;" class="av-special-heading av-special-heading-h2  blockquote modern-quote modern-centered  av-inherit-size ">
    <span class="av-icon-char av-icon-char-custom" style="font-size:20px;line-height:20px;width:20px;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span>
    <h2 class="av-special-heading-tag " itemprop="headline">מה אומרים בוגרי הקורס שלנו?</h2>
    <div class="special-heading-border"><div class="special-heading-inner-border"></div></div>
    </div>

    Hope this helps :)

    Best regards,
    Nikko

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