Shopify themes, liquid, logos, and UX
This is an accepted solution.
Hey @NOT1
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>
.slider {
gap: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hello @NOT1
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
product-info .page-width {
padding-left: 8px !important; /*adjust according to you*/
}
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hey @NOT1
Try this updated code with the same steps
{% if template == 'product' %}
<style>
.slider {
gap: 0 !important;
}
.page-width {
margin: 0 !important;
max-width: 100%;
}
</style>
{% endif %}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hi @NOT1 ,
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>
.slider {
gap: 0 !important;
}
product-info .page-width {
padding-left: 5px !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
This is an accepted solution.
Hey @NOT1
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>
.slider {
gap: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks it worked and how can i decrease the left padding ?
This is an accepted solution.
Hey @NOT1
Try this updated code with the same steps
{% if template == 'product' %}
<style>
.slider {
gap: 0 !important;
}
.page-width {
margin: 0 !important;
max-width: 100%;
}
</style>
{% endif %}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @Moeed
I tried it and worked perfectly on Product Page, but damaged my featured products on main page.
Can you help me fix it?
www.diversusoficial.com
pass: diversusoficial
Hey @HELDERWRLD
Share your Store URL and Password if enabled.
Best Regards,
Moeed
Already found an answer.
If anyone experiencing the same issue, just use this code instead:
{% if template == 'product' %}
<style>
.slider {
gap: 0 !important;
}
</style>
{% endif %}
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 990px) {
#collection-template--21929981247826__e2f480cd-0765-418f-a9eb-b6b93b5abf13 .slider {
gap: 12px !important;
}
#collection-template--21929981247826__e2f480cd-0765-418f-a9eb-b6b93b5abf13 .grid--5-col-desktop .grid__item {
width: calc(19% - var(--grid-desktop-horizontal-spacing)* 4 / 5) !important;
max-width: calc(20% - var(--grid-desktop-horizontal-spacing)* 4 / 5) !important;
}
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hello @NOT1
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
product-info .page-width {
padding-left: 8px !important; /*adjust according to you*/
}
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
appreciate it
This is an accepted solution.
Hi @NOT1 ,
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>
.slider {
gap: 0 !important;
}
product-info .page-width {
padding-left: 5px !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025