How to remove left space in product page and decrease horizontal space between image DAWN

Solved

How to remove left space in product page and decrease horizontal space between image DAWN

NOT1
Shopify Partner
282 2 127

NOT1_0-1726233035849.png

I want to decrease the left space and the space between images 

 

 

Accepted Solutions (4)

Moeed
Shopify Partner
6702 1810 2194

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:

Moeed_0-1726233203133.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Tech_Coding
Shopify Partner
514 132 131

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>

Tech_Coding_0-1726233414511.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Moeed
Shopify Partner
6702 1810 2194

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:

Moeed_0-1726233619048.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

websensepro
Shopify Partner
1854 215 260

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>

websensepro_0-1726233592872.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

View solution in original post

Replies 13 (13)

Moeed
Shopify Partner
6702 1810 2194

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:

Moeed_0-1726233203133.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


NOT1
Shopify Partner
282 2 127

Thanks it worked and how can i decrease the left padding  ?

Moeed
Shopify Partner
6702 1810 2194

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:

Moeed_0-1726233619048.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


HELDERWRLD
Pathfinder
150 0 8

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
Screenshot 2024-10-13 at 11.01.19 AM.png

HELDERWRLD
Pathfinder
150 0 8

Hello @Moeed or anyone else, can somebody help me please?

Moeed
Shopify Partner
6702 1810 2194

Hey @HELDERWRLD 

 

Share your Store URL and Password if enabled.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


HELDERWRLD
Pathfinder
150 0 8

www.diversusoficial.com
pass: diversusoficial

HELDERWRLD
Pathfinder
150 0 8

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 %}
Tech_Coding
Shopify Partner
514 132 131

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>

Tech_Coding_0-1728981050384.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
HELDERWRLD
Pathfinder
150 0 8

Hello @Tech_Coding 
It did not work

Tech_Coding
Shopify Partner
514 132 131

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>

Tech_Coding_0-1726233414511.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
NOT1
Shopify Partner
282 2 127

appreciate it

websensepro
Shopify Partner
1854 215 260

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>

websensepro_0-1726233592872.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP