Hello guys, in the image below you can see that my images have a radius. How can I remove the Radius with a custom CSS code?
Topic summary
A Shopify store owner wants to remove the border radius from product images using custom CSS, but only on specific product pages rather than site-wide.
Initial Problem:
- Product images display with rounded corners (border radius)
- Theme settings change affects all product pages globally
- User needs a targeted CSS solution for individual pages
Solutions Provided:
Multiple community members offered CSS code snippets:
-
Moeed’s approach: Add code to theme.liquid file above the
</body>tag (code snippet shown in screenshot) -
GTLOfficial’s solution: Insert into base.css file:
.global-media-settings img, {
border-radius: 0px !important;
}
- Mustafa_Ali’s method: Place code in theme.liquid under
<style>tag before body
Resolution:
The user thanked all contributors, indicating at least one solution worked. The discussion appears resolved, though the user didn’t explicitly mark a specific answer as the accepted solution.
hey @NikosBat plz share the URL of your website so i can help you
Hello Moeed, I changed it from the theme settings, but I need a custom css code for the product page. If I change it from the theme, then It will apply in all of my product pages which I dont want.
hey @NikosBat there is a password of your website so if you share it so i can help you
Can you change it back so then I can provide you a code?
Best Regards,
Moeed
Hey Moeed, I just change it.
Hey @NikosBat
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @NikosBat
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.
.global-media-settings img, {
border-radius: 0px !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution
Hi MustafA16, here is the password: nikthe
Thanks for your answer MustafA16
Thanks for your answer GTLOfficial
Thanks for your answer Moeed.
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.



