xxmayankxx Posted August 1, 2013 Share Posted August 1, 2013 Hello, Here is the link of my product: http://hdmc.in/prest...ct#/color-metal I'm trying to put images/thumbnails where currently there are 3 color boxes, can someone please guide me on how I can do that? I appreciate your time. Sincerely, Mayank Link to comment Share on other sites More sharing options...
PascalVG Posted August 1, 2013 Share Posted August 1, 2013 Hi Mayank, Try this: Add at the end of the the file: /themes/<your theme folder>/css/global.css #color_3 { background url(http://hdmc.in/prest...rge_default.jpg); background-size: 100px; } #color_4 { background url(http://hdmc.in/prest...rge_default.jpg); background-size: 100px; } #color_5 { background url(http://hdmc.in/prest...rge_default.jpg); background-size: 100px; } (Change picture as desired :-) Hope this does the trick, pascal Link to comment Share on other sites More sharing options...
xxmayankxx Posted August 1, 2013 Author Share Posted August 1, 2013 Thanks Pascal. "perfumeskunk" just explained me an easy way to do it. Basically, prestashop does allow us to put a pattern instead of colorbox. So, I should be able to upload the image now. Thanks alot guys! Link to comment Share on other sites More sharing options...
PascalVG Posted August 1, 2013 Share Posted August 1, 2013 Great! If you've time, please add shortly what you changed to make it work, so that others can use it when having the same question. Thanks! I'll mark this as solved. pascal Link to comment Share on other sites More sharing options...
xxmayankxx Posted August 1, 2013 Author Share Posted August 1, 2013 Here is the link of what I added: http://hdmc.in/presta/index.php?id_product=9&controller=product Basicallly, now customers will have an option to choose between various themes of a tshirt. After adding thumbnail as a pattern in colorbox, I had to make small modification in product.tpl file, I had to change the image size in product.tpl to my desired size. Thanks a lot perfumeskunk & PascalVG! Regards, Mayank Link to comment Share on other sites More sharing options...
Paulito Posted August 1, 2013 Share Posted August 1, 2013 Good morning Happy it worked for you Paul 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