Is there a way to get the same hover effect for category images as you get with product images – the effect that makes the image stand out in box with a shadow with all the other images on the page faded.
For instance on this page the category images have no hover effect but the products do:
http://shoppica.net/Electronics/Digital-Cameras
Also what files need to be edited to change the css of the category images (add image borders etc)?
Thanks!
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Thanks very much. I’ve now got the fade out effect (achieved as you described in number 1 above) although I am having some difficulty with the box effect.
I found in screen.css the following:
.s_item:hover {
z-index: 10;
padding: 20px !important;
background: #fff;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
-o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
So I copied this and tried to do the similar for the categories by adding at the end of the s_subcategory rules:
.s_subcategories:hover {
z-index: 10;
padding: 20px !important;
background: #fff;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
-o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
However this makes a box around all the categories on that page and not just the one I’m hovering over (although the fade effect is still working as should be). I tried changing my code to .s_subcategories ul li:hover but that didn’t fix it.
-
This reply was modified 4396 days ago by mallo82.
-
This reply was modified 4396 days ago by mallo82.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Perfect! Thank you very much!
Almost all there now!
|
|
Glad we’ve helped, mate
Best,
ThemeBurn team
|
|