| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Change banner slider to fade | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Change banner slider to fade
How can I change the banner/carousel/slider (whatever it's called) to fade instead of slide on xc5.2.23 Noblesse single collumn? Sorry if this is a repeat, but several searches did not return anything.
__________________
x-cart5.2.13 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Change banner slider to fade
Never tried it before! Thanks for the suggestion.
So the first step is to override skins/default/en/banner_rotation/body.tpl CHANGE: Code:
TO: Code:
Then you need to add this CSS: Code:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: Change banner slider to fade
Thanks, I'll give that a shot and see how it works. [edit] Just tried it and it works like a charm. I'll have to experiment with some of the settings to change speed etc. [edit 2] Any idea what to add (or remove) for a slower, crossfade? I checked the references above and I couldn't discern who was correct and who was not as none of the crossfades worked for me.
__________________
x-cart5.2.13 |
|||||||
#4
|
|||||||
|
|||||||
Re: Change banner slider to fade
Great topic but i would like to ask, where do you add this CSS code given above? Anyone knows?
__________________
5.2.13 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Change banner slider to fade
Quote:
Another place it could be added would be in the custom CSS section of Look and Feel in the admin. But this is amateur hour if you are customizing the site that way. It feels too transient for me.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Change banner slider to fade
Quote:
Code:
transition-property just defines what property to apply a transition to. You could define it like this: transition: opacity 3s ease; The first declaration tells what to transition, opacity, the second determines the speed in seconds, the third determines what type of animation curve to apply.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#7
|
|||||||
|
|||||||
Re: Change banner slider to fade
Thanks for the update and instructions for changing the fade speed. I thought that might be the place to do it. Oh, and also thanks for reminding me that I'm an amateur, as the Custom CSS is exactly where I placed the code. hee hee
__________________
x-cart5.2.13 |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|