Hello Richard,
To accomplish it, try doing the below steps:
1. Install and activate the TC Custom JavaScript plugin
2. Go To Appearance > Custom JavaScript
3. Paste the following code into the provided box
;(function($) {
'use strict'
if( $('.atframework_services_widget').length ){
$('.service-area .service').each(function(){
var serviceTitle = $(this).find('.service-title').text();
$(this).find('.service-content').html('<h3 class="service-title">'+serviceTitle+'</h3>');
});
}
})(jQuery);
4. Update
Regards,
Kharis
Hello Kharis,
thank you a lot, this is almost ok, but it also removes short description under name of services. Is it possible to leave description, just remove active link?
Hello there,
Try replacing the code with this one:
;(function($) {
'use strict'
if( $('.atframework_services_widget').length ){
$('.service-area .service').each(function(){
var serviceTitle = $(this).find('.service-title').text();
$(this).find('.service-content .service-title').text(serviceTitle);
});
}
})(jQuery);
Regards,
Kharis
This works like a charm, exactly what i wanted.
Thank you a lot Kharis!
May I have secondary question?
Is it possible to remove active links also from individual project pages from homepage?
You’re welcome!
For other question that doesn’t relate to services you posted initially, please feel free to open a new topic. Use one topic for one question.
Regards,
Kharis
ok. i will do it.
Thank you.
Dear Kharis, just a minor update in this topic..
Short description on services block on HP is probably limited to 100 characters. Is it possible to remove these limitation? I have quite longer texts on single service pages about 200 characters.
Hello there,
To accomplish it, you have to edit this line of code
<?php echo wp_trim_words( get_the_content(), 12 ); ?>
and replace it to
<?php echo get_the_content(); ?>
which presents in the inc/framework/widgets/front-services.php file of Astrid theme.
In the future after theme update, you have to redo this again as all files are wiped out and replaced with new ones.
Regards,
Kharis
Hello Kharis,
great, I’ve edited code with your revision and it works perfectly.
I apreciate your excelent support.
Thank you very much.
Kind regards,
Richard
You’re welcome Richard!
Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.
Regards,
Kharis