mitzanu Posted March 6, 2014 Share Posted March 6, 2014 (edited) Hello, I've been reading this forum for a while, but i still have a problem with my website that i don't know how to solve. On my website, http://vanzari-hvac.ro/index.php, on homefeatured (Produse Recomandate) i want 3 products/row , but i want the images to be wider than 124 x 124 , as they are right now. I've try to modify them from Preferences -> Images but no result. Here is the homefeatured.css : http://pastebin.com/DGBVV7AC Please help, thank you! Edited March 7, 2014 by mitzanu (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 6, 2014 Share Posted March 6, 2014 You can do this easily in your BO. Go to Preferences > Images then edit home_default. Based on your image banner you will need 224 x 224. Once you have the new width/height defined you will need to regenerate the images. To do this select Products > home_default then regenerate. Hope that helps. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 6, 2014 Author Share Posted March 6, 2014 I've tried that before, but no effect The only effect when i modify that value to 224 is that the pictures from categories ( like this one http://vanzari-hvac.ro/index.php?id_category=19&controller=category ) are modified to that size, but on the featured products no effect Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 6, 2014 Share Posted March 6, 2014 Are you positive you did exactly as suggested? I just tried it on a default installation and it worked as expected. The home featured images were enlarged to 224x224. I'm not sure what else to tell you. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 6, 2014 Author Share Posted March 6, 2014 Yes, i did exactly as you said Here is a screenshot from BO: http://imgur.com/PoKb6Tz And here is a screenshot from the category page, after i modify the values: http://imgur.com/eocIFZB With no effect on the featured products. Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 6, 2014 Share Posted March 6, 2014 Thanks for the screen shots. It looks like you have something else going on with your theme. I see an additional image group -- home_featured -- this is not default. I suspect that this is the image dimension that is supposed to be used in home featured but there must be some problem in your homefeatured.tpl. That is just my guess. Can you post for us the contents of your homefeatured.tpl? Maybe that will reveal what the problem is. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 6, 2014 Author Share Posted March 6, 2014 Here it is http://pastebin.com/WvRR144c Link to comment Share on other sites More sharing options...
mitzanu Posted March 7, 2014 Author Share Posted March 7, 2014 Can anyone help me, please? Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 7, 2014 Share Posted March 7, 2014 Sorry I forgot about your thread. The simplest way I see to fix this is by modifying your tpl as follows: <a href="{$product.link|escape:'html'}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html'}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />{if isset($product.new) && $product.new == 1}<span class="new">{l s='New' mod='homefeatured'}</span>{/if}</a> Change to <a href="{$product.link|escape:'html'}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_featured')|escape:'html'}" height="224" width="225" alt="{$product.name|escape:html:'UTF-8'}" />{if isset($product.new) && $product.new == 1}<span class="new">{l s='New' mod='homefeatured'}</span>{/if}</a> Regenerate home_featured images if necessary. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 7, 2014 Author Share Posted March 7, 2014 Hey, thank's for your reply. I just did that, but no effect I've updated the .tpl file, regenerated the images and clear cache on my browser, but they are still the same. Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 7, 2014 Share Posted March 7, 2014 (edited) I just did that, but no effect......but they are still the same. It appears you did not modify the correct tpl. I am still seeing <img width="124" height="124" alt="Buderus U052" src="http://vanzari-hvac.ro/img/p/2/9/29-home_default.jpg"> this would not be possible if you edited the proper tpl. Exactly which file did you edit? Marty Shue Edited March 7, 2014 by Carolina Custom Designs (see edit history) Link to comment Share on other sites More sharing options...
mitzanu Posted March 7, 2014 Author Share Posted March 7, 2014 Modules -> homefeatured -> homefeatured.tpl I also have a folder called homefeatured2c in Modules folder, should i modify that one? Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 7, 2014 Share Posted March 7, 2014 My guess is neither. Please look in themes/default/modules/homefeatured/homefeatured.tpl. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 7, 2014 Author Share Posted March 7, 2014 (edited) Hey thank's, it worked! But now i have a problem with the text.... it doesnt show anymore i think i'll have to edit the css file, but i don't know what Edited March 7, 2014 by mitzanu (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 7, 2014 Share Posted March 7, 2014 Hey thank's, it worked! Of course it did You are welcome! But now i have a problem with the text.... it doesnt show anymore i think i'll have to edit the css file, but i don't know what Yes, you have a fixed height of 240px in modules/homefeatured/homefeatured.css #featured-products_block_center li { height: 240px; margin-right: 10px; padding: 10px 0; width: 220px; } Increase this to 340px to solve the problem. Don't forget to edit your original post and marked the thread as [sOLVED]. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 7, 2014 Author Share Posted March 7, 2014 Thank you, i fixed that! Many thanks Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 7, 2014 Share Posted March 7, 2014 Thank you, i fixed that! Many thanks Once again, you are welcome! It would benefit others if you could edit your original post and mark it as [sOLVED]. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 7, 2014 Author Share Posted March 7, 2014 Uhm, i did that already. Or i just marked as solved your post? I don't know how to mark it as solved the whole topic Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 7, 2014 Share Posted March 7, 2014 Yeah, you marked my last post as 'best answer' :D You will need to 'EDIT' your original post then select 'full editor' (I think...going by memory) then you can edit the actual thread title. Just add [sOLVED] to the beginning. Marty Shue Link to comment Share on other sites More sharing options...
mitzanu Posted March 7, 2014 Author Share Posted March 7, 2014 Done now Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 7, 2014 Share Posted March 7, 2014 Thank you! That will help others who might be looking for the same answers. Marty Shue Link to comment Share on other sites More sharing options...
Recommended Posts