Jump to content

cybermatatu

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Location
    Mombasa, Kenya
  • Activity
    Developer

cybermatatu's Achievements

Newbie

Newbie (1/14)

6

Reputation

  1. Hi, I haven't worked with prestashop, but I think you should try looking at the file: homeslider.js. It should be under: modules/homeslider/js/homeslider.js The contents should look like below; /* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.or...ses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 14973 $ * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ $(function(){ if (typeof(homeslider_speed) == 'undefined') homeslider_speed = 500; if (typeof(homeslider_pause) == 'undefined') homeslider_pause = 3000; if (typeof(homeslider_loop) == 'undefined') homeslider_loop = true; $('#homeslider').bxSlider({ infiniteLoop: homeslider_loop, hideControlOnEnd: true, pager: true, autoHover: true, auto: homeslider_loop, speed: homeslider_speed, pause: homeslider_pause, controls: false }); /* Put your JQuery hack here */ $(".bx-wrapper,.bx-window").width("680px"); }); Give it a try and let me know. Good Luck Regards; Fredrick
  2. Hi, I was having the same problem, but I figured out a jQuery hack. $(".bx-wrapper,.bx-window").width("100%"); - Changing both the bx-wrapper & bx-windows width. This is how I used it: <script type="text/javascript"> $(document).ready(function(){ /* Banner slider */ $('#topbanner').bxSlider({ mode: 'horizontal', easing: 'easeOutBounce', auto: true, //captions: true, speed: 3000, pause: 8000, pager: false, controls: false }); $(".bx-wrapper,.bx-window").width("100%"); }); </script> Note:You can change width to whatever you choose.
×
×
  • Create New...