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!
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025