Viewing 3 reply threads
You must be logged in to reply to this topic.
In the Services area, the Service title is linkable and works fine. However, the icon above the text does not link anywhere, even though it feels like it should. Am I missing a setting somewhere to make service icons linkable?
Hello,
No, you aren’t. That’s the services default style. To make the icon a link as well, go to file \includes\codeless_builder\shortcodes\cl_service.php and find this line:
if( $media == 'type_icon' )
$output .= '<i class="'.$this->generateClasses('.cl_service > .icon_wrapper i').'" '.$this->generateStyle('.cl_service > .icon_wrapper i').'></i>';
Replace with this:
if( $media == 'type_icon' )
$output .= '<a href="'.esc_url($service_link).'"><i class="'.$this->generateClasses('.cl_service > .icon_wrapper i').'" '.$this->generateStyle('.cl_service > .icon_wrapper i').'></i></a>';
Let us know.
Best regards!
Can I make this edit from within the wordpress dashboard environment? If so, where?
Or is this something I need to open up the code editor on the hosting account to make this change?
Hello,
No, you can’t make this edit from the option panel. As described, you need to edit out the responsible file. Follow this path in your wordpress installation in the host: wp-content\themes\handel\includes\codeless_builder\shortcodes\cl_service.php
Ask you host provider to help you find it easily.
Best regards!
You must be logged in to reply to this topic.