Animated Heading Error - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Animated Heading Error

PhoenixGB

PhoenixGB

SP Page Builder 2 years ago

Shaper Soccer template, latest version of SP Pagebuilder

Animated heading shows fine in Frontend editor but adds this text to the start when viewed live.

class="animated-heading-before-part">

http://zoosite.live/awfl/images/error.png

http://zoosite.live/awfl/en/?option=com_sppagebuilder&view=page&id=17

0
6 Answers
PhoenixGB
PhoenixGB
Accepted Answer
2 years ago #130635

Credentials sent

0
PhoenixGB
PhoenixGB
Accepted Answer
2 years ago #130795

Seriously?, supports not getting any better.

0
PhoenixGB
PhoenixGB
Accepted Answer
2 years ago #130836

All I can assume is that it is this part of the site.php

I am no coder so can't tell whats wrong if anything is?

        $output .= ($heading_before_part) ? '<span class="animated-heading-before-part">' . $heading_before_part . '</span>' : '';
0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #130877

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Please check now.

-Thanks

0
PhoenixGB
PhoenixGB
Accepted Answer
2 years ago #130883

Hello, yes it is working, thanks. Can u tell me what the issue was please?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #130888

I have remove a scripts of template main.js file.

 //title first word
    jQuery('#sp-page-builder .sppb-row-container .sppb-addon').each(function() {
      var txt = jQuery(this).html();
      var index = txt.indexOf(' ');
      if (index == -1) {
         index = txt.length;
      }
      jQuery(this).html('<span>' + txt.substring(0, index) + '</span>' + txt.substring(index, txt.length));
   });
0