Featured product picture not centerd on mobile

Featured product picture not centerd on mobile

Itsnotcenterd
Visitor
1 0 0

Cant center my fetured product pic on mobile view. Please HELP. 

 

Képkivágás.PNG

https://multikul.store/

 

 

Replies 5 (5)

niraj_patel
Shopify Partner
2391 516 515

Hello @Itsnotcenterd 

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 (max-width: 749px) {
 .Slider-Gallery-template--23139480371468__featured_product_NBRaQ7 .grid--peek.slider .grid__item:first-of-type {
       margin-left: unset !important;
 }
}
</style>

niraj_patel_0-1722407794509.png

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

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Dan-From-Ryviu
Shopify Partner
11549 2261 2445

Hi @Itsnotcenterd 

You can solve it by adding code to Custom CSS of Feature product section. 

.grid__item { margin-left: 0px !important; }

Screenshot 2024-07-31 at 13.40.48.png

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Moeed
Shopify Partner
7349 1992 2432

Hey @Itsnotcenterd 

 

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>
.grid--peek.slider .grid__item:first-of-type {
    margin-left: 0 !important;
}
</style>

RESULT:

Moeed_0-1722408127699.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


GTLOfficial
Shopify Partner
828 171 187

Hello @Itsnotcenterd 

Go to online store ---------> themes --------------> actions ------> edit code------->base.css ----> line number 951
search this code

@media screen and (max-width: 749px) {
.grid--peek.slider .grid__item:first-of-type {
margin-left: 1.5rem;
}
}


and replace with this code

@media screen and (max-width: 749px) {
.grid--peek.slider .grid__item:first-of-type {
margin-left: 0px !important;
}
}

 result
14.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

dws_pvt_ltd
Shopify Partner
369 69 87

Hello @Itsnotcenterd, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. open "base.css"
5. Add the following code.

Update this below CSS by find this class with this media query ".grid--peek.slider .grid__item:first-of-type

@media screen and (max-width: 749px) {
    .grid--peek.slider .grid__item:first-of-type {
        margin-left: 1.5rem; /* remove or comment this CSS code */
        margin-left: 0rem; /* add this new CSS code */
    }
}

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.