MBCollins Posted January 23, 2013 Share Posted January 23, 2013 Hi all, Sorry if this has been solved somewhere before, but I can find it Please can someone tell me how I can change the attribute image size or even allow a pop up to show an enlarged image? I am a complete beginner trying to set up a online wig shop and need to show various hair colour options and at the moment the attribute size is too small to see the true colour. Any help will be much appreciated and I thank you in advance. (P.S. I am confident to change data within files as long as Im clearly signposted where to go LOL) Many Thanks Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted January 23, 2013 Share Posted January 23, 2013 (edited) Hi, try to edit your product.css: .attribute_list #color_to_pick_list a.color_pick { display: block; height: 15px; //this width: 15px; //and this } Regards Edited January 23, 2013 by Alexander Simonchik (see edit history) Link to comment Share on other sites More sharing options...
scorpionsworld Posted January 23, 2013 Share Posted January 23, 2013 Hi, try to edit your product.css: .attribute_list #color_to_pick_list a.color_pick { display: block; height: 15px; //this width: 15px; //and this } Regards And on top of the block size in CSS the img width and height need to be changed as well.Locate the product.tpl file in your theme folder, find the line with <li><a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}<img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="20" height="20" />{/if}</a></li> around line number 253 and the line <img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$colors.$id_attribute.name}" width="20" height="20" /> around line number 295 and change the width and height attributes width="20" height="20" to your needs. Link to comment Share on other sites More sharing options...
MBCollins Posted January 23, 2013 Author Share Posted January 23, 2013 Thanks for the quick reply, but if could signpost me where I could find this file I would much appreciate it I am a complete newbie LOL Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted January 23, 2013 Share Posted January 23, 2013 MBCollins, there is in your active theme folder Link to comment Share on other sites More sharing options...
MBCollins Posted January 27, 2013 Author Share Posted January 27, 2013 Hi all, Thanks ...ITS WORKED!!! The only problem is the boxs move now they are bigger. Is there away I can fix this? Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted January 28, 2013 Share Posted January 28, 2013 MBCollins, it is not clearly. Can you give more details or screenshot, for example? Regards Link to comment Share on other sites More sharing options...
beabea_swit Posted February 25, 2013 Share Posted February 25, 2013 (edited) . Edited July 30, 2013 by beabea_swit (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted February 25, 2013 Share Posted February 25, 2013 Hi, I don't understand what is your problem. If you change attribute type from radiobutton to color something went wrong? Regards Link to comment Share on other sites More sharing options...
beabea_swit Posted February 25, 2013 Share Posted February 25, 2013 (edited) . Edited July 30, 2013 by beabea_swit (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted February 26, 2013 Share Posted February 26, 2013 Ok, screenshorts must be more clearly. Also live example will be appreciated Link to comment Share on other sites More sharing options...
beabea_swit Posted February 26, 2013 Share Posted February 26, 2013 (edited) . Edited July 30, 2013 by beabea_swit (see edit history) Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 26, 2013 Share Posted February 26, 2013 Hi, here is the live example. http://schoend2.sw-i...ome/1-jana.html So i dont have the value of the size. I guess i have to change more than only attribute type. Waarom de maat als 'kleur afbeelding' laten weergeven? Why display the shoe size als 'color texture'? Link to comment Share on other sites More sharing options...
beabea_swit Posted February 26, 2013 Share Posted February 26, 2013 (edited) . Edited July 30, 2013 by beabea_swit (see edit history) Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 26, 2013 Share Posted February 26, 2013 Oh Hallo Scorpionsworld, omdat ik het op het zelfde manier wil weergeven met blokjes. Weet je misschien een andere oplossing? Dank je voor je post... Oef, dan zou je al een override moeten maken om een nieuw type attribuut te kunnen definiëren Link to comment Share on other sites More sharing options...
beabea_swit Posted February 26, 2013 Share Posted February 26, 2013 (edited) . Edited July 30, 2013 by beabea_swit (see edit history) Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 26, 2013 Share Posted February 26, 2013 Ja, maar dat is voor mijn programmeringskennis veel te ingewikkeld helaas... Een andere manier is er helaas niet. Prestashop voorziet (op dit moment nog) niet in het vrij definiëren van attribuut types. Het is dat ik al volgepland sta met projectjes anders had ik me er wel aan gewaagd om een dergelijke override/module te maken. Link to comment Share on other sites More sharing options...
beabea_swit Posted February 26, 2013 Share Posted February 26, 2013 (edited) . Edited July 30, 2013 by beabea_swit (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted February 27, 2013 Share Posted February 27, 2013 Did you resolve your problem? I don't understand your language Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 28, 2013 Share Posted February 28, 2013 Did you resolve your problem? I don't understand your language Unfortunately not. What beabea wants is to display the shoe sizes in the box-like form like the colorpicker. I explained that's not possible in the current default Prestashop and an override/module would be needed to make that work. Since beabea doesn't have the programming skills and my planning is full at the moment to create such a system the issue isn't exactly resolved. 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