Jump to content

Transparent Header Logo Problem on Mobile Devices


sanax

Recommended Posts

I have searched the forums but couldn't find a solution.

 

I uploaded a transparent .png logo to a website but the logo isn't transparent on mobile devices (shown a white block) although it is transparent on any PC.

 

Any ideas?

 

Below is the website

 

www.christiaanbekker.com

Link to comment
Share on other sites

You should get a bit more acquainted with image formats. Your current format, JPEG, does not allow for transparent background (read e.g. http://stackoverflow.com/questions/16906144/transparent-background-in-jpeg-image).

 

This is not actually your problem, however, as the file content isn't in a JPEG format:

  Filename: [H:\Downloads\christiaan-bekker-logo-1460308205.jpg]
  Filesize: [5986] Bytes

Start Offset: 0x00000000
NOTE: File did not start with JPEG marker. Consider using [Tools->Img Search Fwd] to locate embedded JPEG.

This is because PrestaShop generally (mis)uses the JPG extension for any image type. I assume your image is actually a PNG, which does support transparent backgrounds.

 

Now, the fix could be quite simple: add a background in a layer in your PNG, and then squash the layers and save a copy as a JPG.

Edited by Apium (see edit history)
Link to comment
Share on other sites

Check my print screen 

http://prntscr.com/cir9ba

 let me know if your problem is solved ...

 

After this you need upload logo again.

 

You should get a bit more acquainted with image formats. Your current format, JPEG, does not allow for transparent background (read e.g. http://stackoverflow.com/questions/16906144/transparent-background-in-jpeg-image).

 

This is not actually your problem, however, as the file content isn't in a JPEG format:

  Filename: [H:\Downloads\christiaan-bekker-logo-1460308205.jpg]
  Filesize: [5986] Bytes

Start Offset: 0x00000000
NOTE: File did not start with JPEG marker. Consider using [Tools->Img Search Fwd] to locate embedded JPEG.

This is because PrestaShop generally (mis)uses the JPG extension for any image type. I assume your image is actually a PNG, which does support transparent backgrounds.

 

Now, the fix could be quite simple: add a background in a layer in your PNG, and then squash the layers and save a copy as a JPG.

 

I do know my file formats, dude! You're preaching to the choir!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...