Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28357

    Hi, I built http://www.wayofthegun.us/ for a client and we are getting feedback from visitors that they are not able to click the icons. Really, I think these icons should have the same link as the title. They are what you would expect to click. How can I do that in the Avia Layout Builder?

    Thanks!

    #137337

    Hi,

    I did not test this mod but you probably you can apply a link to the icon easily. Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesiconbox.php and replace

    $output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';

    with

    if(!empty($link))
    {
    $output .= "<a href='$link' title='".esc_attr($title)."' $linktarget>";
    $output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';
    $output .= '</a>';
    }
    else
    {
    $output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';
    }

    #137338

    That worked! Thanks.

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

The topic ‘Icon Box Icon Link’ is closed to new replies.