Flexislider

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 10 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #14033

    Rich B
    Free User
    Post count: 36

    Hi

    Is there any way of making the thumbnails under the flexislider static and not a carousel? Dont really want to force it with CSS, would prefer if it was possible through PHP or JS

    Thanks!

    #14054

    Paolo
    Site Admin
    Post count: 31206

    Hi Rich,

    I’m not sure I understand exactly what you are after, so I can’t really offer a solution here. The thubnails below the slider will move only if there are more than X images (taking more than the total space availabe below the slider). Otherwise they just change opacity level when selected (or when the slider moves).

    In any case, you will have to modify geodirectory.js on line 17 following these docs : http://www.woothemes.com/flexslider/

    Best way to do that is to dequeue that script from your child theme functions.php file.

    Enqueue and register function for geodirectory.js are in geodirectory_template_tags.php line 104/105:

    
    
    		wp_register_script( 'geodirectory-script', geodir_plugin_url().'/geodirectory-assets/js/geodirectory.js' ,array(),GEODIRECTORY_VERSION);
    		wp_enqueue_script( 'geodirectory-script' );

    Copy and rename geodirectory.js in your child theme and in functions.php enqueue the new script with your mods.

    Hope this is enough to get you started.

    Let me know,

    Thx

    #14067

    Rich B
    Free User
    Post count: 36

    Paolo thats perfect thank you!

    #14075

    Paolo
    Site Admin
    Post count: 31206

    super 🙂

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount