Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Linking service icons

#icon#specularlinkservice
    • 8 years, 4 months ago Jeremygood33
      Participant

      Expired

      Hello,

      Im noticing with the service icons that only the text links. Is there a way to make the icon link as well?

      http://www.richards.energy

    • 8 years, 4 months ago Mirela
      Participant

      Hello,

      Please go to file vc_templates/services_medium.php and find this line:
      $output .= '<div class="icon_wrapper" style="'.$extra_st.'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></div>';

      Replace with this:
      $output .= '<div class="icon_wrapper" style="'.$extra_st.'"><a href="'.esc_url($data['link']).'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></a></div>';

      Let us know.

      Best regards!

    • 8 years, 4 months ago Jeremygood33
      Participant

      Expired

      Thank you so much. That worked great!

      Also on the services page i used the square service icons. How would i do the same with those?

      Thanks for the speedy response.

    • 8 years, 4 months ago Mirela
      Participant

      Hello,

      Please go to file vc_templates/services_large.php and find this line:
      $output .= '<div class="icon_wrapper"><span class="top"></span><span class="left"></span><span class="right"></span><span class="bottom"></span><i class="'.esc_attr($icon).'"></i></div>';

      Replace with this:

      $output .= '<div class="icon_wrapper"><a href="'.esc_url($data['link']).'"><span class="top"></span><span class="left"></span><span class="right"></span><span class="bottom"></span><i class="'.esc_attr($icon).'"></i></a></div>';
      

      Best regards!

    • 4 years, 9 months ago Nathan Best
      Participant

      Hi there. I am also interested in this. Do I have to edit the master Theme file, or can I duplicate the file in to the Child theme, which I would prefer to make the change?

    • 4 years, 9 months ago Akram
      Keymaster

      Hi,

      Yes, if same issue then you can make it done in same way.

      Thank You

Viewing 5 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password