Shopify themes, liquid, logos, and UX
Hello, I messed around with the blog image size and now I cant get rid of the grey background behind the image:
https://lamanchanursery.com/blogs/news/how-to-grow-san-pedro-seeds
I would also like to give it round corners, like here:
https://lamanchanursery.com/blogs/news
thank you
Solved! Go to the solution
This is an accepted solution.
Hi @Sancho13
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>
.article-template__hero-adapt.media {
background-color: unset;
border-radius: 20px;
padding-bottom: 50% !important;
}
.article-template__hero-adapt.media img {
border-radius: 20px;
object-fit: cover;
}
</style>
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.
Hey @Sancho13
I hope you are well and safe!!
Please use below code in css file:
article.article-template .article-template__hero-adapt {
border-radius: 15px;
overflow: hidden;
}
Thanks
This is an accepted solution.
Hi @Sancho13
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>
.article-template__hero-adapt.media {
background-color: unset;
border-radius: 20px;
padding-bottom: 50% !important;
}
.article-template__hero-adapt.media img {
border-radius: 20px;
object-fit: cover;
}
</style>
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.
worked perfectly, thank you!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024