User Tools

Site Tools


prestashophelp:images

Images

Official Prestashop documentation

Transparent background logo .png

By default Prestashop uses only .jpg (transparent background supports only .gif and .png image types). But if you need transparent background for logo here you can find the solution:

1)
1.1) Change image format in the Back-office. Back office > Preferences > Images and check the “Image Quality” as seen below.


1.2) Now if you go to Preferences > Themes and upload your png file as the header image, it will have transparency even though it'll say logo.jpg in the source code.

2) However if you'd prefer to hard-code your logo to be logo.png, you can do it via the file header.tpl in your theme. For example Alysum theme \your_site\theme\alysum\header.tpl
On line ~77 change

src="{$logo_url}"

to point to the image you wish to use. For example

src="{$img_ps_dir}logo.png"  
prestashophelp/images.txt · Last modified: 2015/09/30 21:58 (external edit)