News:

AbanteCart v1.4.2 is released.

Main Menu

Slowing down main banner rotation

Started by user88, May 20, 2018, 06:01:45 PM

Previous topic - Next topic

user88

Hi again,

I'm polishing the last details for my store and find myself very happy with Abantecart. I have tried all kind of softwares and had nothing by headaches with them. Abantecart has proved itself the most inclusive of all. Thanks.

The question I have is:

How do I slow down the rotation of the main banner?

Thanks for your help.

abantecart

Thank you for your feedback. Feel free to write a review about your experience.

To your question.
You can increase the "slideShowDelay" setting on the javascript in the file below
storefront/view/default/javascript/custom.js

Clear your browser cache to see the effect take place.

Here is the link to the file and the line.
https://github.com/abantecart/abantecart-src/blob/8087c4b44dac8f633f083e0fe28089d0cb68a9d6/public_html/storefront/view/default/javascript/custom.js#L8
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

user88

Thanks, I tried that solution but it didn't work for me because under 'banner manager' I have the choice 'flex_slider_banner_block.tpl' selected.

If I change that selection to 'one_by_one_slider_banner.tpl' then it works.... but my problem is that when I make this selection, my banners do not display right. They get sent to the upper left corner, misaligned from the blue background.

The flex slider banner works nicely for me since it doesn't place a background color and enlarges the banner to full size.

I tried looking at this file code, but couldn't figure out where it sets the delay.

Any thoughts or solutions?

Thanks

yonghan79

Hi, try to add this code ' ,slideshowSpeed: "10000" ' on line 147 in your /storefront/view/default/javascript/custom.js. I can't paste a code so i wrap it with ''. Change 10000 with your desired time. Fyi, the default value is 7000. Hope it helps.


user88


Forum Rules Code of conduct
AbanteCart.com 2010 -