It's impossible to help you without a link to your site...
Printable View
It's impossible to help you without a link to your site...
OK, here's a solution on how to center ZX Slideshow for all those interested:
Go to includes/templates/YOUR_TEMPLATE/css/index_home.css and find lines 90-97. Originally, this is how it looks:
Now, simply change the code in red with margins of your choice. For those who don't know, the numbers represent "top right bottom left". Change it to something like this if you want the slideshow to be centered:Code:.theme-default .nivoSlider {
position:relative;
background:#fff url("../images/loading.gif") no-repeat 50% 50%;
margin-bottom:50px;
-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
box-shadow: 0px 1px 5px 0px #4a4a4a;
}
This is it, your slideshow should now be centered.Code:.theme-default .nivoSlider {
position:relative;
background:#fff url("../images/loading.gif") no-repeat 50% 50%;
margin:0 auto 50px auto;
-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
box-shadow: 0px 1px 5px 0px #4a4a4a;
}
It is working great now. Thanks a lot for your help...
It actually DOES work. The link you gave me (.com) is just an iframe. Try visiting your site on it's original URL. BTW, I hope you are aware that you shouldn't be using Zen Cart in iframe...
Hi Balihr,
I just installed the mod with no problems and it runs, however, there is a "line" around the image so that if I put it on top a background I see an outline. Almost like a drop shadow in a way. I have tried both .png and .jpg versions of the files. Any ideas on how to get rid of this "outline"?
Hi rjc
From my understanding of this, there is in the /includes/templates/YOUR_TEMPLATE/css/index_home.css file, a section of code looking something like this
the shadow you are refering to is defined by the linesCode:.theme-default .nivoSlider {
position:relative;
background:#fff url("../images/loading.gif") no-repeat 50% 50%;
margin-bottom:50px;
-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;/*4a4a4a*/
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
box-shadow: 0px 1px 5px 0px #4a4a4a;
}
change each of them, to look likeCode:-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
box-shadow: 0px 1px 5px 0px #4a4a4a;
and that should set no shadow all the way around the slideshow.Code:-webkit-box-shadow: 0px #4a4a4a;
-moz-box-shadow: 0px #4a4a4a;
box-shadow: 0px #4a4a4a;
Thanks so much twistafix!! That is exactly what I needed...now everything is looking good!
Hi Balihr,
Thanks for your help.
I have a question.
can I use the mod to show on a specific category page?
I mean, is it possible to have multiple slideshows, one for each category in my shop?
If possible, let me know how this can be done.
best regards
Yes, you can, although it won't be very simple. You only have 10 banner positions to use. If you use 5 of those positions for homepage, you're left with only 5 more for category pages. So, first of all, you'd need to add more banner positions depending on how many you really want. Then, you'd have to hard code which positions are used on a specific category.
A slideshow on every category page? IMHO, not at all user friendly and personally I would hate a site doing this. But, it's your choice.Quote:
I mean, is it possible to have multiple slideshows, one for each category in my shop?
It's quite a lot of work and thus beyond my free forum support, sorry. Perhaps someone else would like to step in and explain it in details for you...Quote:
If possible, let me know how this can be done.