goodboy88 Posted July 6, 2011 Share Posted July 6, 2011 My homepage logo does not show properly. I'm using PrestaShop version 1.4.3. The home page logo that i had uploaded with dimension 550px X 228px show at my website at a compress version and align to the left. Besides if i upload a smaller picture it align the picture to the left. Suppose the picture should align it to the center. How to make the picture show properly? My webpage is: http://www.esoftbay.com/ Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 6, 2011 Share Posted July 6, 2011 Did you set the width and height in the Editorial Module in the BO?It currently shows width="230" height="260"Depending on your version of PS, there may need to be changes made to editorial.tpl in the modules/editorial directory. Link to comment Share on other sites More sharing options...
killsey Posted July 7, 2011 Share Posted July 7, 2011 Yes, change the width and height and you should be sorted. Link to comment Share on other sites More sharing options...
goodboy88 Posted July 7, 2011 Author Share Posted July 7, 2011 Did you set the width and height in the Editorial Module in the BO?It currently shows width="230" height="260"Depending on your version of PS, there may need to be changes made to editorial.tpl in the modules/editorial directory. How to change the width and height? Can you show me step by step? Besides from the file guideline editorial.tpl you had given it did not show any dimension number. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 7, 2011 Share Posted July 7, 2011 The file probably had something like this, correct? {if $homepage_logo}getMediaLink($image_path)}" alt="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}" {if $image_width}width="{$image_width}"{/if} {if $image_height}height="{$image_height}" {/if}/>{/if} To change the width and height open the Editorial Configuration screen in the Back Office Modules tab. Link to comment Share on other sites More sharing options...
goodboy88 Posted July 7, 2011 Author Share Posted July 7, 2011 You mean go to admin control panel>Modules>Front Office Features>Home Text Editor right but there isn't any available configuration there for me to change. Besides, the picture show properly inside this configuration menu.If you mean change the code then how? Can you show me with example? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 7, 2011 Share Posted July 7, 2011 Since it obviously isn't there, you need to check to see if these values are in your database.Check the ps_configuration table for an entry where the name is EDITORIAL_IMAGE_HEIGHT or EDITORIAL_IMAGE_WIDTH. SELECT * from ps_configuration where name like 'EDITORIAL_IMAGE_%' If you have no values, then you need to enable the module and configure it by uploading the image there, not just overwriting the image in the modules/editorial folder. Link to comment Share on other sites More sharing options...
goodboy88 Posted July 8, 2011 Author Share Posted July 8, 2011 You mean access my database and change the code? The problem is how to access the database and change the code from what to what? Can you give with example? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 8, 2011 Share Posted July 8, 2011 Hold on a couple and I'll give you an answer. Link to comment Share on other sites More sharing options...
goodboy88 Posted July 10, 2011 Author Share Posted July 10, 2011 Problem solve by just clicking on the update editor again. Thanks anyway for your help. Link to comment Share on other sites More sharing options...
Recommended Posts