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

    HI, Enfold expert,

    anyone can tell me how to remove only the <header> div from Iconlist shortcut when add it in post.

    Explanation: I add the below shortcut for inconlist in post.

    [av_iconlist position='left' font_color='' custom_title='' custom_content='' color='' custom_bg='' custom_font='' custom_border='']
    [av_iconlist_item title='' link='' linktarget='' linkelement='' icon='ue8c0' font='entypo-fontello']

    It create the following result, if you check via firebug or inspect element.

    <div class="iconlist_content_wrap">
    <header class="entry-content-header">
      <h4 class="iconlist_title" itemprop="headline"></h4></header>
      <div class="iconlist_content " itemprop="text">
        <div class="iconwrap boxwrap">
    content goes here inside the incon wrap
    </div>
    </div></div>

    As you see the above divs include <header class=”entry-content-header”>
    <h4 class=”iconlist_title” itemprop=”headline”></h4></header>

    Now, what to do if i ever add the iconlist shortcut and it only generate the below divs. which does not include the <header divs completely.

    <div class="iconlist_content_wrap">
      <div class="iconlist_content " itemprop="text">
        <div class="iconwrap boxwrap">
    content goes here inside the incon wrap
    </div>
    </div></div>

    As you see there is no <header> div at all. and only we have the other divs.

    screenshot: http://prntscr.com/9pt2nd

    • This topic was modified 8 years, 3 months ago by hamzakhankhan. Reason: update the title for better understanding
    #565497

    Hi Hafeez

    Please go to Enfold/config-templatebuilder/avia-shortcodes/iconlist.php file and search and replace “header” tag as needed

    Cheers!
    Yigit

    #566744

    Thanks bundles Yigit it worked for me, now the post should be closed.

    #566793

    Hi,

    Great, glad you got it fixed :-)

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to remove "header" div from Iconlist Shortcut’ is closed to new replies.