WordPress.org

Ready to get started?Download WordPress

Forums

WP-Cycle
Making wp-cycle responsive (3 posts)

  1. lynnema
    Member
    Posted 1 year ago #

    Hi there -

    I love this plugin - but I can't seem to make the images resize. Can you tell me where I can change the code to do so? Thanks in advance!

    Jess

    http://wordpress.org/extend/plugins/wp-cycle/

  2. smhmic
    Member
    Posted 1 year ago #

    jQuery Cycle -- the code that powers this plugin -- is not responsive. There are some workarounds, all of which require a small bit of coding.

    But if you are comfortable coding, then I recommend using a solution that doesn't need to be hacked into behaving semi-responsively. I like this one: http://www.woothemes.com/flexslider/

  3. valerio_cas
    Member
    Posted 1 year ago #

    here is a quick fix I used, which requires jQuery, and for all of your images to be the same height.

    <script>
                    function responsiveSlider() {
                        jQuery("#rotator").height(jQuery("#rotator img").first().height());
                    }
                    jQuery(window).load(responsiveSlider);
                    jQuery(window).resize(responsiveSlider);
    </script>

    then in your css something like `
    #rotator {
    width: 100%;
    max-width: 960px;
    }`

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.