Support » Plugin: ML Post Slider » slider 100% width

Viewing 1 replies (of 1 total)
  • Plugin Author dwawobieg



    If You want put a slider with 100% width You have to do some changes in code.

    In line 217 You have:
    echo '<div class="parrent_ml_post_slider'.$instance['ml_unique_id'].'" style="position:relative; display:block;width:'.($instance['ml_width']).'px; height:'.($instance['ml_height']).'px;">';
    and in line 221:
    echo '<div style="width:'.$instance['ml_width'].'px; height:'.$instance['ml_height'].'px; overflow:hidden;">'.do_shortcode($post->post_content).'</div>';
    All what You have to do is change ‘px’ on ‘%’ in this two lines.

    If You will be use also navigation arrows do this same thing in lines 224 and 225.

Viewing 1 replies (of 1 total)
  • The topic ‘slider 100% width’ is closed to new replies.