Jaje Posted May 7, 2013 Share Posted May 7, 2013 (edited) Hi guys, I have total of 6 products shown in the featured products block on my homepage. I'm trying to modify "homefeatured.css" so when I hover over the certain product, background shows covering the space behind everything inside that product's margin. I succeeded in making background behind the picture, name, description, and price but i would like to make background covering everything together as soon as the mouse pointer hovers over the product's margin. Any ideas how to do that? Edited May 7, 2013 by Jaje (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 7, 2013 Share Posted May 7, 2013 i need an additional info to better understand you needs. you want something like: http://www.leotheme.com/demo/prestashop14x/?template=leo_sportshoes ? just check the page and hover mouse over the product , you want something similar? Am I right? Link to comment Share on other sites More sharing options...
Jaje Posted May 7, 2013 Author Share Posted May 7, 2013 Yeah that's it! Link to comment Share on other sites More sharing options...
vekia Posted May 7, 2013 Share Posted May 7, 2013 It's complicated a bit, you should use css / jquery functions and modify the code of the homefeatured.tpl. know how for that: add position:relative; overflow:hidden; to <li> with product details and add "liclass" to the class="" param create new (between the <li></li> tags) div with position:absolute; bottom: 160px; create jqeury script $(".liclass").hover(function(){change div bottom to 0px;}, function() { put it back to 160px; }); 1 Link to comment Share on other sites More sharing options...
Jaje Posted May 8, 2013 Author Share Posted May 8, 2013 Thanks I'll try it! Link to comment Share on other sites More sharing options...
vekia Posted May 8, 2013 Share Posted May 8, 2013 Thanks I'll try it! let me know when modification will be ready. anyway, if you've got any questions - feel free to write regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now