• Resolved michalrama

    (@michalrama)


    Hello,

    I really like your plugin. I created a slider and added this code.

    jQuery(document).ready(function( $ ){
    $(“#testcode”).prependTo(“#main”);
    $(“#testcode”).addClass(“ct-container”);
    });

    It now displays in the exact position and has the correct width as well.

    However, there are two problems.

    1. The aspect ratio was not preserved – It can only be set in pixels in the settings
    2. When the window is reduced, the side arrows disappear and the slider fills the entire width, which is obviously wrong.

    Please help

    Thank you

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to set height based on width to maintain aspect ratio?’ is closed to new replies.