Lynette

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: beauty cuts theme #34357
    LynetteLynette
    Member
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: December 9, 2015

    #1 is fixed. #2 from my original post was still a problem. The problem is that sometimes there’s Javscript running that references nivoSlider, but that object isn’t on every page, so it’s undefined. I wound up fixing it with this an IF block that checks for the object first, as in:

    // functions.php
    jQuery(document).ready(function() {
        if(!jQuery('#slider').nivoSlider) return;
        jQuery('#slider').nivoSlider({
                effect:'<?php echo of_get_option('slideefect',true); ?>',
                animSpeed: <?php echo of_get_option('slideanim',true); ?>,
                pauseTime: <?php echo of_get_option('slidepause',true); ?>,
                directionNav: <?php echo of_get_option('slidenav',true); ?>,
                controlNav: <?php echo of_get_option('slidepage',true); ?>,
                pauseOnHover: <?php echo of_get_option('slidepausehover',true); ?>,
        });
    });
    
    // custom.js
    // nivo slider
    jQuery(window).load(function() {
      if(jQuery('#slider').nivoSlider){
        jQuery('#slider').nivoSlider({ effect: 'fade' });
      }
      if(jQuery('ul#testimonials').quote_rotator){
        jQuery('ul#testimonials').quote_rotator();
      }
    });
    

    Could these changes be evaluated and changed on your end, in case a template update is ever pushed out?

    in reply to: beauty cuts theme #33551
    LynetteLynette
    Member
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: December 9, 2015

    hi shri,
    the formatting for the reviews was all lost. it used to be a slider that shows one review at a time, now there’s several displayed vertically.

    in reply to: beauty cuts theme #33352
    LynetteLynette
    Member
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: December 9, 2015

    sure

    (keith)

    in reply to: beauty cuts theme #33320
    LynetteLynette
    Member
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: December 9, 2015

    Can you provide an update on this?

    in reply to: beauty cuts theme #32862
    LynetteLynette
    Member
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: December 9, 2015

    Sent

    in reply to: team order #16313
    LynetteLynette
    Member
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: December 9, 2015

    Perfect! Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)