Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
HI there,
I added below code in my theme.liquid file to get all the corners round. I just need it to not apply to this section on the homepage:
class="slider-items-template--24072017936666__ss_slider_PGUGLd"
<style> img { border-radius: 20px; } </style>
How can best exclude this?
Thanks so much!
password: chaos
Solved! Go to the solution
This is an accepted solution.
Hey @INFRA
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
div#shopify-section-template--24072017936666__ss_slider_PGUGLd img {
border-radius: unset !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @INFRA
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
#chaos-in-the-cbd .slider-image-template--24072017936666__ss_slider_PGUGLd img, .slider-image-template--24072017936666__ss_slider_PGUGLd svg img{
border-radius: 0px !important;
}
</style>
If you find my advice helpful please remember to LIKE and accept as SOLUTION.
Thanks!
This is an accepted solution.
Hey @INFRA
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
div#shopify-section-template--24072017936666__ss_slider_PGUGLd img {
border-radius: unset !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @INFRA
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
#chaos-in-the-cbd .slider-image-template--24072017936666__ss_slider_PGUGLd img {
border-radius: 0 !important;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Please add this code to Custom CSS of that section.
img { border-radius: unset; }
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- 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.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hello @INFRA ,
Here are the steps to apply the necessary changes in your Shopify store:
.swiper-wrapper a {
border-radius: unset !important;
}
Let me know if you need further assistance!