Hi:
I installed the mod and I like it. It is a lot easier than the previous slideshow that I was using.
I am trying to make the background a color and have the slideshow images with a transparent background. That way if I want to change the background it is easy.
I have tried but am unable to get this right. Is this possible? Can someone help me?
Dave
No, transparent images are not possible. This module is based on Nivo slider and it doesn't support it, you can read it here.
OK. I can't use a transparent background on an image. Still, is it possible to have a background color?
What I want to do is have a radius on the border of the slider. With a background color and a radius so it fits a border with a radius I could make the image smaller so it wouldn't interfere with the border.
Dave
Absolutely. Just make the parent div larger and child div smaller with some margins.
For example, you'd make <div class="slider-wrapper theme-default"> 800x400px and set your slideshow dimensions to 750x350px. Then add margin:25px; to .nivoSlider and background-color:#990066; to .slider-wrapper
edit: of course, 25px is quite a lot, i just used those numbers for you to get an idea what to do.![]()
Last edited by balihr; 3 Oct 2012 at 08:25 PM. Reason: added info
OK. I found the <div class="slider-wrapper theme-default"> in the zx_slideshow.php file but I'm not quite sure where to put the 800x400px.
I added this to the stylesheet:
.slider-wrapper {
background-color: #e5e5e5;
border-radius: 10px 10px 10px 10px;
}
Everything seems to be ok, but the length and width of the background.
Dave
OK. this is what I did. I put the following in the stylesheet.
.slider-wrapper {
margin:10px 26px 20px 26px;
background-color: #e5e5e5;
border-radius: 10px 10px 10px 10px;
border: 2px solid #1975ff;
border-radius: 10px 10px 10px 10px;
}
I set the configuration/zx slideshow to 700 wide and 60 high
It seems to work but I'm not sure if this is the right way to do it or if there is a better way.
I would appreciate any feedback anyone can give me.
Dave
Dave, you should realize that you're asking for advice about styling. The simplest way of getting such advice is by providing a link to your site so we can see what you have and what you're trying to do.
For example, I'm not sure why you have top margin 10px and bottom margin 20px... Plus, if it works and you tested with all browsers, then it's most likely a good solution. Perhaps there is a better solution, but if there's nothing wrong with what you've done, why ask for more? BTW, you don't need border-radius twice.![]()
Hi There
can you pls tell me if this slide show will work on zen cart 1.38.a with category images on main page and if it will, which version is best to use, for my needs.
The banner group is header_banner which I wish to develop into s slide show.
Thanks
Regards
Renz
This module is compatible with 1.3.8a, just use the correct sql file.
Since you're displaying categories on your homepage, please use the file attached (unzip and upload to your includes/templates/YOUR_TEMPLATE/templates/ directory). This is a patch for cases where you display your categories on the main page.
As for banner group - you'll have to adapt your banners because this module creates 10 new banner groups (slide1 - slide10) as explained in the documentation.
Bookmarks