remove thumbnail outline

remove thumbnail outline

ellacoker
Shopify Partner
259 0 59

Hello,

Is someone able to assist me in removing the thumbnail border?

URL: https://www.samiyaskincare.com.au/products/throat-chakra-face-oil

Thank youu

 

Screenshot 2025-03-19 at 11.03.05.png

Replies 7 (7)

SafeerAhmed
Excursionist
43 9 11

add this to your assets/base.css file

li.thumbnail-list__item button.thumbnail.global-media-settings:focus-visible {
    box-shadow: none;
    border: none;
    outline: none;
}
Safeer Ahmed | Shopify Expert & Developer
Specialist in Shopify Development & Custom Shopify Solutions
Let's connect:safeerahmed23901@gmail.com
If my response helped, give it a like & mark it as a solution!

CodingFifty
Shopify Partner
910 136 165

Hi @ellacoker,

Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

button.thumbnail.global-media-settings.global-media-settings--no-shadow{
box-shadow: none !important;
border-color: none !important;
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
ellacoker
Shopify Partner
259 0 59

hello, this didnt seem to work. alternatively, do you know how to fix my outline instead? it seems to get chopped off on the top, in mobile mode. please refer to screenshot to see what i mean.Screenshot 2025-03-19 at 11.27.44.png

SafeerAhmed
Excursionist
43 9 11

try this

button.thumbnail[aria-current] {
    box-shadow: none !important;
}
Safeer Ahmed | Shopify Expert & Developer
Specialist in Shopify Development & Custom Shopify Solutions
Let's connect:safeerahmed23901@gmail.com
If my response helped, give it a like & mark it as a solution!

DaisyVo
Shopify Partner
4385 486 578

Hi @ellacoker 

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file

 

.thumbnail[aria-current] {
    box-shadow: none !important;
    border-color: transparent !important;
}

 

Result 

DaisyVo_0-1742350492011.png

 

Best,

Daisy

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

Dan-From-Ryviu
Shopify Partner
11549 2260 2445

Hi @ellacoker 

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings.

.product__media-wrapper .thumbnail[aria-current] {
    box-shadow: unset;
    border: 1px solid #000;
}

Screenshot 2025-03-19 at 09.26.23.png

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

PageFly-Richard
Shopify Partner
5011 1120 1801

Hi @ellacoker 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.thumbnail[aria-current]:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: unset;
}
.product__media-wrapper .thumbnail[aria-current] {
    box-shadow: unset;
    border: 0;
}
</style>

PageFlyRichard_0-1742368744683.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.