Jump to content

Why is there a background colour behind a Transparent PNG

Recommended Posts

Posted

Site URL: https://www.allsaintsfamilypractice.com.au/

Hi guys,

New to Squarespace... first post.

Just wondering why there is a faded blue colour behind a transparent png image... on an image box.

You can visit the URL to see it...  and I have also added 2  images to show the issue.

example of the png image .... as well as a screenshot of how it looks on the site.

How do I remove this BLUE SHADING?

Thanks in advance

Syco

Background-remove.jpeg

Orig-logo-500px.png

  • Replies 18
  • Views 4.5k
  • Created
  • Last Reply
Posted

Yes I checked in there, plus other places... but there doesn't seem to have any selection for background colour on the image where I have shown in my screenshots.

  • 4 weeks later...
  • 2 weeks later...
  • 5 months later...
Posted
16 hours ago, julishtv said:

Hi there! 
I have a similar issue, I upload a dummy PNG into a section and it changes the background colour to another colour style, please have a look at the screenshot.
I checked and the png doesn't have any background.
Would really appreciate some help! 

Screenshot 2021-09-25 at 17.55.51.png

Can you share link?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
12 hours ago, julishtv said:

Hi is anyone around who understands the issue? 
Would really need some help.

 

Try adding this to Design > Custom CSS

[data-section-id="5fde66d25809ae3434fa98db"] .section-background-overlay {
    background-color: transparent !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

The result that I'm expecting is that I can see the background color of the site. Since I'm uploading a PNG without bachground and the color should look like the image attached (not white) . Please let me know where I'm going wrong 🙂

Screenshot 2021-09-29 at 09.18.10.png

Posted
23 hours ago, julishtv said:

The result that I'm expecting is that I can see the background color of the site. Since I'm uploading a PNG without bachground and the color should look like the image attached (not white) . Please let me know where I'm going wrong 🙂

Screenshot 2021-09-29 at 09.18.10.png

Add to Design > Custom CSS

/* Fix transparent png background */
:not(.has-background) .section-background {
    background-color: #f7f4f2 !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
On 9/30/2021 at 9:51 PM, julishtv said:
/* Fix transparent png background */
:not(.has-background) .section-background {
    background-color: #f7f4f2 !important;
}

 

Hey @tuanphan! That actually worked, but it took out the colour out of the following section with the logos as well. 
https://marigold-triangle-hnhf.squarespace.com/home
Is there some way we can only apply it to the the one png in the title?

Use this

/* Sample sample sample */
/* Fix transparent png background */
[data-section-id="5fde66d25809ae3434fa98db"] .section-background {
    background-color: #f7f4f2 !important;
}

How I find data section id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.