My desktop featured collections seems to not align to the center.

Solved

My desktop featured collections seems to not align to the center.

AlexYZ
Shopify Partner
136 1 38

They are so much space on the right side of my desktop, how do I align it to the center and make them balance? Picture below

Screenshot 2022-12-13 231803.png

 

Accepted Solutions (3)
GemPages
Shopify Partner
5625 1262 1278

This is an accepted solution.

Hello @AlexYZ 

 

This default from the theme 

GemPages_1-1671009473472.png

You can follow these steps to fix : 
1. Go to Online Store->Theme->Edit code

GemPages_0-1671009409987.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_2-1671009560343.png

{%  if template contains 'index' %}
<style>
.collection slider-component {
    margin: auto !important;
}
</style>
{%  endif %} 

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

GemPages
Shopify Partner
5625 1262 1278

This is an accepted solution.

Hello @AlexYZ 

 

You can follow these steps to fix : 
1. Go to Online Store->Theme->Edit code

GemPages_1-1671171297130.png

2. Open your theme.liquid file, paste the below code before </body>

 

@media (max-width: 767px ) {
.collection slider-component.slider-mobile-gutter {
    margin: auto !important;
    padding: 0 1.5rem;
}
}
</style>
    {%  endif %}

 

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

GemPages
Shopify Partner
5625 1262 1278

This is an accepted solution.

@AlexYZ 

 

@media (max-width: 767px ) {
.collection slider-component.slider-mobile-gutter {
    margin: auto !important;
    padding: 0 1.5rem;
}
}

You can add this code at the bottom of base.css 

 

Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 9 (9)

developerSP
Pathfinder
85 3 20

Hello there,
Please share me store url and password.

Thank you!

banned

GemPages
Shopify Partner
5625 1262 1278

Hello @AlexYZ 

Can you give me your Store URL( with pass if your store password is enabled) so I can check it for you?

Kind & Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
AlexYZ
Shopify Partner
136 1 38

@GemPages Just dm you check messages!

GemPages
Shopify Partner
5625 1262 1278

This is an accepted solution.

Hello @AlexYZ 

 

This default from the theme 

GemPages_1-1671009473472.png

You can follow these steps to fix : 
1. Go to Online Store->Theme->Edit code

GemPages_0-1671009409987.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_2-1671009560343.png

{%  if template contains 'index' %}
<style>
.collection slider-component {
    margin: auto !important;
}
</style>
{%  endif %} 

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
AlexYZ
Shopify Partner
136 1 38

@GemPages Thank you very much, I appreciate your great work!❤️

AlexYZ
Shopify Partner
136 1 38

@GemPages On the mobile view featured collection enable swipe can I make the shoes align in the same line as the bag because the shoes collection is over the corner at the left and right. Thank you

 

Screenshot 2022-12-16 135152.png

GemPages
Shopify Partner
5625 1262 1278

This is an accepted solution.

Hello @AlexYZ 

 

You can follow these steps to fix : 
1. Go to Online Store->Theme->Edit code

GemPages_1-1671171297130.png

2. Open your theme.liquid file, paste the below code before </body>

 

@media (max-width: 767px ) {
.collection slider-component.slider-mobile-gutter {
    margin: auto !important;
    padding: 0 1.5rem;
}
}
</style>
    {%  endif %}

 

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
AlexYZ
Shopify Partner
136 1 38

@GemPages It works but I need to paste the code in base.css because I figure out the customized slider code I copy is in base.css. Thank you!!

GemPages
Shopify Partner
5625 1262 1278

This is an accepted solution.

@AlexYZ 

 

@media (max-width: 767px ) {
.collection slider-component.slider-mobile-gutter {
    margin: auto !important;
    padding: 0 1.5rem;
}
}

You can add this code at the bottom of base.css 

 

Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center