Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #869828
    Chris Stovall
    Participant

    I have been using this javascript for quite over a year now and it’s been working great. With the most recent update, these codes have stopped working. I have 18 other sites that need an update but need to know existing codes will continue to work.

    jQuery(function($) {
      $(".h-resp-large").fitText(.90, { minFontSize: '38px', maxFontSize: '60px' });
      $(".h-resp-med").fitText(.95, { minFontSize: '26px', maxFontSize: '32px' });
      $(".h-resp-small").fitText(.95, { minFontSize: '16px', maxFontSize: '30px' });
      $(".three-box").fitText(.88, { minFontSize: '24px', maxFontSize: '54px' });
    });

    http://162.144.201.72/~newgenesis/

    Sorry about the music!

    Login info in next post.

    #869829
    Chris Stovall
    Participant
    This reply has been marked as private.
    #870321
    Rue Nel
    Moderator

    Hello Chris,

    Thanks for writing in! We have made some changes with the responsive text script to prevent any conflict with other plugins. please update your JS code and use this instead:

    jQuery(function($) {
      $(".h-resp-large").csFitText(.90, { minFontSize: '38px', maxFontSize: '60px' });
      $(".h-resp-med").csFitText(.95, { minFontSize: '26px', maxFontSize: '32px' });
      $(".h-resp-small").csFitText(.95, { minFontSize: '16px', maxFontSize: '30px' });
      $(".three-box").csFitText(.88, { minFontSize: '24px', maxFontSize: '54px' });
    }); 

    Hope this helps.

    #870331
    Chris Stovall
    Participant

    Can you please detail out for me the change? I can’t see it and I have to make this same change to 19 other sites. I need to know what I need to update.

    Is it changing this: .fitText
    To this: .csFitText

    #870333
    Chris Stovall
    Participant

    That did it. Thanks!

    #870670
    Lely
    Moderator

    You’re welcome Chris!

    Always,
    X

    #880438
    Chris Stovall
    Participant

    I just went and tried this on another site I updated and it didn’t work. I’ll post the other site as soon as I get it live over the weekend.

    Also, was this little hiccup included in the changelog?

    Stuff like this makes me worry about updating any site.

    #881306
    Rue Nel
    Moderator

    Hello Again,

    Please send us the url of the site in question so that we can take a closer look. csFitText was changed to avoid any further conflict with other plugins. Regretfully this changes weren’t included in the changelog. I will be reporting your feedback to the person in charge so that it can be prevented in the future release and changelog updates.

    By the way, X 4.4.2 and Cornerstone 1.2.4 are now available! This release contains several bug fixes and we’re quite excited about the new features, so be sure to check out the changelog. Please do update to the latest version. After doing the updates, always remember to clear all caches 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.

  • <script> jQuery(function($){ $("#no-reply-869828 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>