weasel69 Posted November 12, 2013 Share Posted November 12, 2013 (edited) Is it possible to increase the size of the colour attribute blocks (showing the colours) on the product page? Edited November 14, 2013 by weasel69 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 of course, you can change styles for: #attributes .attribute_list #color_to_pick_list a.color_pick { display: block; height: 20px; width: 20px; } it's a part of /themes/default/css/product.css file line 228 *default theme* example with width:50px; height:50px; Link to comment Share on other sites More sharing options...
weasel69 Posted November 13, 2013 Author Share Posted November 13, 2013 Hi Vekia Thanks for the reply ... I did as you suggested and can now see that the block that displays the texture/colour is bigger (50px), but the actual texture image I uploaded is still being displayed in the original small size (even though the image is actually 120px big) You can see an example here Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 i created code for colors as you stated in topic title and first topic, can you share url? i will check it Link to comment Share on other sites More sharing options...
weasel69 Posted November 13, 2013 Author Share Posted November 13, 2013 http://test.sleepingcouchandsofa.afrihost.com/index.php?id_product=35&controller=product#/sleeping_surface-76cm_small_single/material-fabric/type-sleeper/masterguard-optional_extra/fabric_colour-mallorca_citrus Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 okay! i've got it! somewhere in global.css insert this simple code: #color_to_pick_list li img {width:100%!important; height:100%!important;} effect: 1 Link to comment Share on other sites More sharing options...
weasel69 Posted November 14, 2013 Author Share Posted November 14, 2013 (edited) Hi Vekia, thank you so much!!! Much appreciated Next question ... is it possible when hovering over the colour/texture block to see a floating bigger preview of the block which will allow you to see the texture more clearly? Edited November 14, 2013 by weasel69 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 15, 2013 Share Posted November 15, 2013 with some kind of modifications it is possible something like: http://www.jacklmoore.com/zoom/ Link to comment Share on other sites More sharing options...
weasel69 Posted November 20, 2013 Author Share Posted November 20, 2013 That domain seems to be broken Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2013 Share Posted November 20, 2013 weirdy, i can open this website and browse its pages take a look here: https://github.com/jackmoore/zoom the same prject Link to comment Share on other sites More sharing options...
grubybarti Posted May 31, 2016 Share Posted May 31, 2016 How can I make it work with my PS 1.6 ? Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2016 Share Posted May 31, 2016 from what i see process is almost the same. share url, i will check it. Link to comment Share on other sites More sharing options...
grubybarti Posted June 1, 2016 Share Posted June 1, 2016 After taking a close look on this I understod that its not what I want. What I would like to see after hover is in image. Is this even possible ? 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