Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
Please could you help me with this,
I am using the theme "Debut" and I want to display the images in a circle format oppose to the default square. Is this possible? please help!
Many Thanks
Solved! Go to the solution
This is an accepted solution.
For product page at the bottom of collection add this:
.grid-view-item__image { border-radius: 50% }
For product image:
.product-featured-img { border-radius: 50%; }
And if you want ALL images in circular:
img { border-radius: 50%; }
And if you want to exclude some images then you can add this
img:not(.class-name) { border-radius: 50%; }
Hi, @Jackzavelli ,
This is Evita from On The Map.
If you know a little bit of CSS, then you need to add border-radius: 50% to image class name. If you don't know how to do it, then add your store URL and I will check what to what class names you need to add border-radius.
Best,
Evita
Hi @OTM ,
Thank you for your response,
Unfortunately, I cannot provide the URL at the moment but I am using the standard debut them, at the moment I have the images in grid view working (returning as circular) by using:
.grid-view-item__image-wrapper .grid-view-item__image {border-radius: 50%;}
But can you advise how do i make all other images circular as well please?
e.g. collections on the home page and clicking into the product page.
Many Thanks
This is an accepted solution.
For product page at the bottom of collection add this:
.grid-view-item__image { border-radius: 50% }
For product image:
.product-featured-img { border-radius: 50%; }
And if you want ALL images in circular:
img { border-radius: 50%; }
And if you want to exclude some images then you can add this
img:not(.class-name) { border-radius: 50%; }
Hi @OTM ,
Thank you for providing this,
It works perfectly.
I have one more question, by default if you use collection on the home page it creates a square box with the collection nam in the middle of the image. While the image of the product appears in the background there is still a grey square box. How can I change this to circular or completely remove the grey square please?
So I just want it to say "Resident" going through the middle and for the square to be transparent or removed.
Many Thanks
Hi, where do i have to go to pase the code? is it under Theme>> Edit code>> . where do we have to go exactly to copy and paste the code. Thanks
Hi, where do i have to go to pase the code? is it under Theme>> Edit code>> . where do we have to go exactly to copy and paste the code. Thanks
Hi, where do i have to go to pase the code? is it under Theme>> Edit code>> . where do we have to go exactly to copy and paste the code. Thanks
hi, i only want to display one image as circular on my home page. where do I add the css for image with text. https://jywpmw3p3haxgc49-49960190121.shopifypreview.com
Go to the online store. Select the "customize theme" buttom. Most likely just says "Customize". Select the section in the task bar on the left where the image is at. Scroll to the bottom where it says "Custom CSS", add the code there.
Hello! Where can i see the (class-name) of the picture?
img:not(.class-name) {
border-radius: 50%;
}
For this example
How to display product images as circular and not default square with proper LOCATION
From Online Store: Customize Theme. Select the section in the task bar on the left where the image is at. Scroll to the bottom where it says "Custom CSS", add the code there.
You can try this solution. It supports all the themes:
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024