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

how to make the service icons clickable

    • 6 years, 8 months ago Elsa_Dupont
      Participant

      Hi,

      I’m using the Service circle icon, and I would like to make the icon clickable (now, it’s just the text which is clickable, is it possible to improve that, for a better user experience ?)

      Thanks a lot in advance.

       

    • 6 years, 8 months ago Ruco
      Keymaster

      Hello,

      To do so you have to edit the file vc_templates/services_medium.php

          if($style == 'style_3')
                      $extra_st = 'border:2px solid '.esc_attr($border_color).';';
                  $output .= '<div class="icon_wrapper" style="'.$extra_st.'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></div>';

      and replace with:

       if($style == 'style_3')
                      $extra_st = 'border:2px solid '.esc_attr($border_color).';';
                  $output .= '<a href="'.esc_url($data['link']).'"><div class="icon_wrapper" style="'.$extra_st.'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></div></a>'; 

      Let us know.

      Regards!

    • 6 years, 8 months ago Elsa_Dupont
      Participant

      Hi,

      I will try and let you know.

      thanks

       

    • 6 years, 5 months ago cherylweb27
      Participant

      That worked great for me! :)

      I put vc_templates/services_medium.php (sub-folder and file) into a child theme. Will that be ok or should I expect an issue? Thanks! :)

      • This reply was modified 6 years, 5 months ago by cherylweb27.
      • This reply was modified 6 years, 5 months ago by cherylweb27.
    • 6 years, 5 months ago Mirela
      Participant

      Hello,

      No, that should be ok. Now you can freely update theme any time there is an update available and the changes won’t be lost.

      Best regards!

Viewing 4 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