Support » Plugin: 10Web Social Post Feed » Slide Full Width 100% with slider

  • Resolved Heitor_tito

    (@heitor_tito)


    hello I used your plugin and put the slider slick library. I took only two changes I find interesting you modify it does not alter the structure.
    in frontend / views / he pulls a <script> inside the div that contains the style of the loop, if you put a div below usually works with slider.

    BEFORE:

    <script>
    										var id_object_id_<?php echo $ffwd; ?> = '<?php echo addslashes(json_encode($this->model->id_object_id_json)); ?>',
    												graph_url_<?php echo $ffwd; ?> = '<?php echo $this->model->graph_url; ?>';
    												ffwd_fill_likes_blog_style(JSON.parse(id_object_id_<?php echo $ffwd; ?>), '<?php echo $ffwd; ?>', owner_info_<?php echo $ffwd; ?>, ffwd_params_<?php echo $ffwd; ?>, graph_url_<?php echo $ffwd; ?>);
    									</script>

    AFTER

    </div>
    <script>
    var id_object_id_<?php echo $ffwd; ?> = '<?php echo addslashes(json_encode($this->model->id_object_id_json)); ?>',
    												graph_url_<?php echo $ffwd; ?> = '<?php echo $this->model->graph_url; ?>';
    												ffwd_fill_likes_blog_style(JSON.parse(id_object_id_<?php echo $ffwd; ?>), '<?php echo $ffwd; ?>', owner_info_<?php echo $ffwd; ?>, ffwd_params_<?php echo $ffwd; ?>, graph_url_<?php echo $ffwd; ?>);
    									</script>

    the other was a modification width 100% in two divs:

    $("#ffwd_container1_1 #ffwd_container2_1 .blog_style_objects_1").css({
                    'width' :'100%'
                  });
                  $("#ffwd_container1_1 #ffwd_container2_1 .blog_style_objects_conteiner_1 .blog_style_objects_conteiner_1_1").css({
                    'width' :'100%'
                  });
    • This topic was modified 3 years, 9 months ago by Heitor_tito.
    • This topic was modified 3 years, 9 months ago by Heitor_tito.
    • This topic was modified 3 years, 9 months ago by Heitor_tito.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slide Full Width 100% with slider’ is closed to new replies.