Re: How can I remove the borders around my GIF logo?

How can I remove the borders around my GIF logo?

AvyCoffee
Excursionist
22 0 7

I created an animated GIF for my logo. I'm using the Dawn theme, and it allows me to put it as my logo, but it still has the square border around it. I've entered code (which I thought would do the trick), but it didn't work. The code I entered is: 

 

.site-header__logo {
border: none !important; /* Removes border */
background: transparent !important; /* Ensures background is transparent */
}

.site-header__logo img {
display: block; /* Prevents any inline spacing */
margin: 0; /* Removes any margin */
padding: 0; /* Removes any padding */
outline: none; /* Removes any outline */

 

When I try to export the GIF with a transparent background, it gives me issues with the background animation. 

 

Is there a way to get around this to remove the border?

 

For reference, my site is: https://www.avycoffee.com


Thank you all in advance!

Replies 3 (3)

BSSCommerce-HDL
Shopify Partner
2298 847 1061

Hi @AvyCoffee, Your photo currently has built-in borders. This cannot be fixed.

BSSCommerceHDL_0-1724343682038.png

 

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

ES1
Shopify Partner
158 14 17

Hi,

 

It seems that your image is a square gif. We actually do not see any border apart from the square sharped image you have added. You can have a rectangle logo covering more of the top header from left to right. All good logos are generally transparent and rectangle but in your case.

 

You can also have the background color of the gif same as the top header and then use the animation.

 

That ways, the background of the gif will be same as your header and will merge seamlessly.

 

 

Regards

- Was our response helpful? Please click Like to let us know!
- Was your question answered? If Yes, Please mark it as an Accepted Solution so that it can help other budding Entrepreneurs like yourself !!!

rezwan_cs
Shopify Partner
4 0 0

The gif logo is not transparent at all. It a square shaped image that provide of sense of border here.

Please have a look at it if we put red background in the header, it looks like this - 

rezwan_cs_1-1724348211808.png

Let me know if you need any help further.

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store
- Contact Me - [email protected]
- Hire me - https://cutt.ly/rezwan-shopify