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

Service Media Functionality

service media
    • 9 years, 10 months ago sharonekatz
      Participant

      Expired

      This is the third time I am logging a support ticket on this issue. It keeps getting deleted.

      i am using the service media element for images but need to make it so that the default link on the title and the image does not link. I had hoped that by simply removing the “#’ I could modify this behavior. unfortunately that doesn’t work.

      You can see an example here. Just scroll down to any of the spray features and hover over the image and or title.

      https://s592558735.onlinehome.us/sprayfeatures

      What do I need to do to make this happen. Please do not delete this ticket again.

       

    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      Please go to file vc_templates/services_media.php and find these lines:

      $output .= '<a href="'.esc_url($link).'"><div class="overlay">';
                      $output .= '<img src="'.esc_url($photo).'" alt="" />';
                      $output .= '<span></span>';
                      if($style == 'style_2')
                          $output .= '<h5><a href="'.esc_url($link).'">'.esc_html($title).'</a></h5>';
                  $output .= '</div></a>';

      Replace with these:

      $output .= '<div class="overlay">';
                      $output .= '<img src="'.esc_url($photo).'" alt="" />';
                      $output .= '<span></span>';
                      if($style == 'style_2')
                          $output .= '<h5><a href="'.esc_url($link).'">'.esc_html($title).'</a></h5>';
                  $output .= '</div>';

      In the same file find this other line:
      $output .= '<h5><a href="'.esc_url($link).'">'.esc_html($title).'</a></h5>';
      Replace with this:
      $output .= '<h5>'.esc_html($title).'</h5>';
      Save file!

      Ps: We are sorry for what happened to your first tickets. There are works going on in the server so they may have not been saved. No one from the staff does ever delete any ticket.

      Best regards!

    • 9 years, 10 months ago sharonekatz
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      You have to make the changes in your parent theme or child theme. Just upload the vc-template folder, with the changed element file, into your child theme.

      Best regards!

      • This reply was modified 9 years, 10 months ago by Mirela.
Viewing 3 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