Reverse Creative CTA not working

Hey there,

I used to have mi “reverse creative CTA” code working perfectly, and this week i dont know what just happened but its not working the same way it used to. Maybe one X update.

This is the actual code i have in my custom JS:
jQuery ( function($){
$(‘a.x-creative-cta’).each( function(){
$(this).find(‘span:first-child’).removeClass(‘text’).addClass(‘graphic’);
$(this).find(‘span:last-child’).removeClass(‘graphic’).addClass(‘text’);
$(this).find(’.text’).attr(‘style’,’’);
} );

If anyone knows something about it, i would appreciate it so much.

Hi,

Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation.

Thank you.

Hi,

The URL is: www.canalcalitv.com

Hello There,

It appears that you are using Cornerstone 3.1.5 with an older version of the theme. Please update the X theme to X 6.1.5. Out dated theme will not work correctly with the latest Cornerstone.

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Please let us know how it goes.

1 Like

Thank you! working perfectly fine.

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.