dazlia Posted August 21, 2013 Share Posted August 21, 2013 (edited) Hi guys, Ok, I am trying to use an image as the 'texture' for one of my colour attributes. So, i created a gif at 20x20 pixels and uploaded it, then checked in my shop and could see that 20x20pixels was too large. So after measuring it it turns out it needs to be 15x15pixel to fit within the bounding box. So i created same image but 15x15pixels and uploaded that. However, it still doesn't line up, because its displaying my 15x15pixel image at 20x20pixels still. If i right click (in firefox) on the image in my front end and choose 'display image info' it says :- "15px × 15px (scaled to 20px × 20px)" Here's a screenshot so you can see what the issue is. any help would be appreciated as always guys Vekia.............wake up! lol Edited August 30, 2013 by dazlia (see edit history) 1 Link to comment Share on other sites More sharing options...
manouki8 Posted August 27, 2013 Share Posted August 27, 2013 I am having the same problem, uploading custom texture/color does not fit into the border even though it is 15 x 15. I am using a custom theme. Link to comment Share on other sites More sharing options...
vekia Posted August 28, 2013 Share Posted August 28, 2013 in both cases everything looks like css issue, without url is hard to say what you have to change. 1 Link to comment Share on other sites More sharing options...
dazlia Posted August 28, 2013 Author Share Posted August 28, 2013 Hi Vekia, if you could have a quick look I'd appreciate it please. It's I'll send you a PM with my URL mate as it's still in testing phase thanks buddy Link to comment Share on other sites More sharing options...
manouki8 Posted August 28, 2013 Share Posted August 28, 2013 in both cases everything looks like css issue, without url is hard to say what you have to change. Can you check mine also please Link to comment Share on other sites More sharing options...
vekia Posted August 28, 2013 Share Posted August 28, 2013 just send me PM with url to the product with texture Link to comment Share on other sites More sharing options...
vekia Posted August 28, 2013 Share Posted August 28, 2013 remove all shadow definitions from: .attribute_list #color_to_pick_list li.selected { border-radius: 15px; -webkit-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1); -moz-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1); box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1); -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } it's a part of /themes/millenium/css/product.css near 553 line Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2013 Share Posted August 29, 2013 @dazlia here is the solution for you: /themes/default/css/product.css near line 207 add position:relative; .attribute_list #color_to_pick_list li.selected { border: 1px solid #000; position:relative; } then in product.css add this style: #color_to_pick_list img {position:absolute; left:-1px; top:-1px;} 1 Link to comment Share on other sites More sharing options...
dazlia Posted August 29, 2013 Author Share Posted August 29, 2013 Thanks again Vekia, I'll try it in the morning mate Link to comment Share on other sites More sharing options...
dazlia Posted August 30, 2013 Author Share Posted August 30, 2013 Worked like a charm Thank you - Thread marked as solved. Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2013 Share Posted August 31, 2013 glad to hear that i could help you a little in this case, if you will encounter problems with this attribute in other product pages - feel free to continue discussion here Link to comment Share on other sites More sharing options...
Mr.Bean_S Posted September 23, 2013 Share Posted September 23, 2013 (edited) My problem with the color attribute is that I can't remove an uploaded texture and use html-color instead.Hope it was ok to use this thread for this question. An easy fix is of course to remove the color-value and add it again but this would affect all products using this color. Edited September 23, 2013 by Mr.Bean_S (see edit history) Link to comment Share on other sites More sharing options...
dwipakri Posted February 6, 2015 Share Posted February 6, 2015 Hi, I have same problem with this thread and also on category list page. Here is it pic from my product page: And here is it pic from my category list page: I was send PM to Vekia, hopefullnya its can fixed. 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