Shopify themes, liquid, logos, and UX
Hi! I need help with my transparent image turning into a white background within the image banner section. I've tried multiple code solutions, but none of them have worked so far. Any advice or working examples would be greatly appreciated!
Theme: Dawn
Website: https://wxccqp-af.myshopify.com
Password: bowgla
Solved! Go to the solution
This is an accepted solution.
Hi @ShopElle
Yes its transparent.
Try this one.
.banner__media.media.scroll-trigger.animate--fade-in img {
background:radial-gradient(rgba(167, 167, 167, 1), rgba(80, 80, 80, 1) 100%);
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hi @ShopElle
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.banner__content.banner__content--middle-center.page-width.scroll-trigger.animate--slide-in {
background: white;
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hi @websensepro
Thank you for your assistance. Unfortunately that code doesn't work, all it does is animate my image out of the screen and leaves a full white image.
So you want to remove this image and also eliminate the space it is creating?
No, the original png image has a transparent background. When I add the media into the image banner it automatically adds a white background onto it. I want to remove the white background and have my original transparency.
Here is the original image:
Your image does not have a transparent background; the image itself has a background.
My image is indeed transparent, the text box must've added a background when you opened it in another tab.
Any further solutions is greatly appreciated!
This is an accepted solution.
Hi @ShopElle
Yes its transparent.
Try this one.
.banner__media.media.scroll-trigger.animate--fade-in img {
background:radial-gradient(rgba(167, 167, 167, 1), rgba(80, 80, 80, 1) 100%);
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Welcome! Would you mind hitting 'like' as well? Thanks!
Happy New Year!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024