Baffled Posted June 30, 2012 Share Posted June 30, 2012 Hi all, I want to change the default setting for the homepage logo size (currently 530 x 228) to about half the height (i.e. 530 x 114) so I can get more featured products content onto the screen. Searched for hours but can't seem to find a reference for this. Can anyone assist? Thanks Baffled Link to comment Share on other sites More sharing options...
El Patron Posted June 30, 2012 Share Posted June 30, 2012 PrestaShop 1.4's and maybe earlier set the width height of your logo based on your logo (when you upload it) and stores it in your mysql configuration table. fields SHOP_LOGO_WIDTH and SHOP_LOGO_HEIGHT. You could just try modifying these fields in your mysql database. However there is no gurantee that they will not be updated by the back office back to the original image size. Have you tried creating a resized logo and uploading via your preferences-->appearance? Link to comment Share on other sites More sharing options...
Baffled Posted June 30, 2012 Author Share Posted June 30, 2012 Hi Prestashop Addict, thanks for your post. I tried using a smaller homepage logo (= the Apple products picture) but when I uploaded it (via appearances),it expanded the image size to the default 530 x 228.Consequently it looked pretty awful (low res). I haven't seen any topics about this floating in Prestashop forums but am hoping someone knows how to get into the default settings so I can reduce it's footprint. Would be nice to have a bit more space for featured products on-screen Thanks for your suggestions Regards Baffled PS I am a rank amateur working my way through Prestashop.An interesting exercise. Link to comment Share on other sites More sharing options...
El Patron Posted June 30, 2012 Share Posted June 30, 2012 make sure to check your header.tpl (youractivetheme/header.tpl) controller/frontcontroller.php call the header.tpl and will pass the w/height. please note you will need to turn off smarty compile/cache if you change any .tpl files. (preferences-->performance) best of luck... Link to comment Share on other sites More sharing options...
Baffled Posted June 30, 2012 Author Share Posted June 30, 2012 Much obliged. Will try it and hopefully will resolve the issue Have a great weekend Cheers Baffled 1 Link to comment Share on other sites More sharing options...
softhightech Posted March 15, 2017 Share Posted March 15, 2017 The logo is saved when the user upload the logo so the solution is to create a new logo in Photoshop and upload it and size will be changed. Link to comment Share on other sites More sharing options...
Recommended Posts