Staff replied SP Page Builder

Animated Heading Error

Asked by PhoenixGB 3 years ago Last activity 3 years ago

6 replies

PhoenixGB Asked this

Credentials sent

PhoenixGB Asked this

Seriously?, supports not getting any better.

PhoenixGB Asked this

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>' : '';
Toufiq Senior Staff

Hi there,

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

-Thanks

PhoenixGB Asked this

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

Toufiq Senior Staff

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));
   });
Log in to reply.