How can I remove the borders around my GIF logo?

How can I remove the borders around my GIF logo?

AvyCoffee
Excursionist
17 0 4

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
2010 707 863

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

BSSCommerceHDL_0-1724343682038.png

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

ES1
Shopify Partner
146 12 16

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
New Member
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 - rezwan.cs.dev@gmail.com
- Hire me - https://cutt.ly/rezwan-shopify