Hi,
The title of a content item in the Carousel Pro add-on is always H2. How can I change this?
Kind regards.
Staff replied
SP Page Builder
Title of Carousel Pro content item in SP Pagebuilder is always H2 - How to change it?
2 replies
Mehtaz Afsana Borsha Staff
Hi
Thanks for contacting us. Could you please give me your site URL and also a screenshot of your issue?
-Regards.
Paul Frankowski Senior Staff
9 months ago
· edited
Indeed, it's hard-coded.
If you want to change it (by now) you have to override addon, and edit addon code a little bit. Focus on that file:
components\com_sppagebuilder\addons\carouselpro\site.php
line 150: $output .= (isset($value->title) && $value->title) ? '<h2>' . $value->title . '</h2>' : '';
Guide (how to): https://www.joomshaper.com/documentation/sp-page-builder/how-to-override-sp-builder-addons
And yes, I already asked to improve that in near future.
Log in to reply.