Shopify themes, liquid, logos, and UX
Hi everyone!
I've set the size of my product images to "medium" on the product page and it all looks good on desktop.
But I think it's a little too big on mobile and would like to make it smaller on just mobiles. The "small" alternative would suit better on mobile, or if it is possible to set it to
a given percent.
Is there a way to do this?
I've tried to have a look at the code and changed around a bit, but I can't really find anything that works.
Best regards,
Solved! Go to the solution
This is an accepted solution.
Thanks for confirm
1. Go to Online Store->Theme->Edit code
2. Asset->/Theme.scss.liquid->paste below code at the bottom of the file.
@media only screen and (max-width: 749px) {
.product-single__media {
padding-top: 100% !important;
img {
height: 100%;
object-fit: contain;
}
}
}
if possible to give theme access so i will check and update
Hi @KetanKumar
could you help to adjust the product image so that the add to cart button is visible above the fold for mobile?
I need the product photo to be smaller on mobile.
I want mobile users to see the button when the page opens.
thank you so much in advance
chris
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
the Flex theme allows for custom css https://help.outofthesandbox.com/hc/en-us/articles/360022329373
do you need mobile-first screen show to add to cart button
Hi Ketan Kumar.
I want your help please.
Kindly help me to resolve the issue.
I have Warehouse theme install on my store.
I have variations on almost all of the products.
What I want is,
1) I want to resize main image of product on product page to fit on mobile
2) Variation images at the left side of the main product image in short size
3) Product Name, Variation selector, Price, Add to Cart and Buy Now button all to be visible on page without scrolling.
Shop name: https://multisolution-pakistan.myshopify.com/
Email: yaseeng8@gmail.com
Please resolve my issue.
Screenshot attached of current product page display which needs to be adjusted for mobile friendly experience
An Example of ideal optimized product page from another website is below for reference
v
oh sorry for that issue you case difficult bcz to many deta your prodct name also long product name see attachment
Please do some adjustment for resolving this issue. Ideal optimized layout also attached for reference
oh sorry your all content too much longer but can you try this code add to cart button to show the first screen
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.
@media screen and (max-width: 640px) {
.product-form__payment-container {
position: fixed;
bottom: 0;
flex-direction: row;
justify-content: center;
width: 100%;
z-index: 99999999999;
background: #fff;
left: 0;
align-items: end;
padding: 10px;
}
.product-form__payment-container .shopify-payment-button {
margin-top: 0;
margin-left: 10px;
}
}
it does not make any optimization at all.
I did it the correct way by the way.
I have added bamaniyaketan.sky@gmail.com as in staff, please check and help me out
Add to Card and Buy Now button are now ok, but image optimization and prices should be displayed without scrolling.
Please do this as well.
Thanks for your support and assistance
thanks i will check and let you know
Can you please assist. I have tried to adjust the size of a clickable map and I cant figure it out. Its perfect on desktop, but way too large on mobile. I cant find a theme.css file anywhere. I have a theme.liquid under layout and a theme-editor.js under asset. Can someone please assist. The url im trying to fix is:
https://www.drawmoretags.com/pages/huntinfo-by-state
Thanks in advance.
can you send issue images
Is this still a working solution? I´d like to have smaller product images but ONLY for the mobile version. Is there a build in solution available meanwhile?
can you please share url
User | RANK |
---|---|
163 | |
146 | |
71 | |
67 | |
55 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023