Shopify themes, liquid, logos, and UX
Hello,
I've tried and tried to remove the padding around the product images and info but I just can't do it for some reason.
This is where I ended up:
and this is what I'm aiming for:
See how the image on the second screenshot starts from right up in the corner? That's what I'm trying to achieve.
Any help will be greatly appreciated.
Thanks in advance
Edit: website is "https://asherai.co" password is "shinem". Using Dawn theme version 12
Hi @asherai_co
Do you mean like this?
If its try this one.
section#MainProduct-template--20029001400662__main, section#MainProduct-template--20029001400662__main .page-width {
padding: 0px;
}
.product__info-wrapper.grid__item {
padding-left: 5px;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I used this and tweaked with my website's settings - it almost worked, it's just this tiny bit on the left that won't go away.
I'm not sure if this code is optimized or correctly formatted or something, but this is what worked for me.
@media screen and (min-width: 750px) {
section#MainProduct-template--20029001400662__main, section#MainProduct-template--20029001400662__main .page-width {
padding: 0;
max-width: 1600rem;
}
media screen and (min-width: 750px) {
.product__info-wrapper.grid__item {
padding-left: 5px;
}
}
.product-info {
padding-top: 10px;
}
}
product__media-list.grid {
height: auto!important;
width: 100%important;
}
That is good then, The small margin is not visible on my side but in the mobile screen yes. So maybe its the same selector on the desktop that making problem also. Check this one.
Same Instruction.
@media screen and (max-width: 749px){
.grid--peek.slider .grid__item:first-of-type {
margin-left: 0rem !important;
}
}
.grid--peek.slider .grid__item:first-of-type {
margin-left: 0rem !important;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @asherai_co ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
#MainProduct-template--20029001400662__main{
padding:0 !important
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024